Ok! This solution works like a charm. Now the next one; I am entering records in sequences of one or more records. Is there a way I can get an array or a table with the primary keys of the "rows affected"? Kind regards, Milo van der Linden