Hi Borislav, I tried your code on a sample of 100 records and it works until it gets to the last record where it loops - I just had it print out the value of a field for testing purposes - nice way of avoiding a cursor though
Regards,
Peter J. Kane
Pete