CPGDeveloper
Board Regular
- Joined
- Oct 8, 2008
- Messages
- 190
Hi All~
I have a user that occasionally experiences this error -- "Update or CancelUpdate without AddNew or Edit"
The db I administer has about 20+ end users, split db, front end accde files on each users's desktop.
This error occurs (only occasionally) when he is creating a new entry into our db --
I have that process linked to a 'New' command button. Clicking the button opens a pop-up form, solicits some information from the user, and creates new entries into two tables using the information provided by the user.
My code uses two relatively simple 'INSERT' sql statements. It then determines the 'ID' of the newly created record and after refreshing the form's record source, I use .FindFirst to go to the newly created record.
After creating the record, and then going into another field in said record, does the user experience this error.
Any ideas? I could post the code if that's helpful -- nowhere in my project do I use .Update or .CancelUpdate, but perhaps there's something about editing a newly created record that I'm missing?
I have a user that occasionally experiences this error -- "Update or CancelUpdate without AddNew or Edit"
The db I administer has about 20+ end users, split db, front end accde files on each users's desktop.
This error occurs (only occasionally) when he is creating a new entry into our db --
I have that process linked to a 'New' command button. Clicking the button opens a pop-up form, solicits some information from the user, and creates new entries into two tables using the information provided by the user.
My code uses two relatively simple 'INSERT' sql statements. It then determines the 'ID' of the newly created record and after refreshing the form's record source, I use .FindFirst to go to the newly created record.
After creating the record, and then going into another field in said record, does the user experience this error.
Any ideas? I could post the code if that's helpful -- nowhere in my project do I use .Update or .CancelUpdate, but perhaps there's something about editing a newly created record that I'm missing?