Mybe you run code twice? Do you have 1:1 relation between source tables povnst1 and povnda1 ?
>
>It almost worked. Problem that I have now, it created 2 rows in my new table.
>
>Why did it do that? The first record and second record are duplicated, it goes from 1 to 256,000 records so time x2
--sb--