Thank you very much for the help, Massimo. What this did was update all the records with the new invoice number. I re-read the chapter on DAL and see the info on the update_record. I still can't get it to select the database record I want and only update a record in memory, but I decided to change the logic and put the invoice in another place and it this works.
Margaret --