I use profile documents in Notes to put a unique document number on forms. I put the number on during postopen using lotus script. After I access the profile, and update it, I save and close the profile document. (Close PurchaseProfile). I am still getting duplicate numbers. Is there anything else that can be done to prevent this?