Hi. My question is regarding a form that has an autonumber field that doesnt populate until data is entered on the form.
Is there a way to force the autonumber to populate immediately when the form is opened? The reason being is that there is a sub-form that is linked to the 'uniqueid' field of the main form. When a user goes to the sub-form and enters data before populating the main form, and then clicks out of the sub-form - all the data is lost that was just entered (because of the UniqueID field being linked).
Ive tried a docmd.save and other methods but just cant seem to get it right.
Any help would be appreciated.
Thanks.
Bob
Is there a way to force the autonumber to populate immediately when the form is opened? The reason being is that there is a sub-form that is linked to the 'uniqueid' field of the main form. When a user goes to the sub-form and enters data before populating the main form, and then clicks out of the sub-form - all the data is lost that was just entered (because of the UniqueID field being linked).
Ive tried a docmd.save and other methods but just cant seem to get it right.
Any help would be appreciated.
Thanks.
Bob