Zydeceltico
Registered User.
- Local time
- Today, 03:00
- Joined
- Dec 5, 2017
- Messages
- 843
Hi All -
I have a main form, frmInspectionEvent that has some buttons that open various types of inspection forms - each bound to a different table. The Main form is bound to its own table.
The various types of Inspection forms have "Save Record" buttons on them. The Main form does not.
And the user has to enter specific data in specific controls on the Main form to even be able to open one of the various types of inspection forms.
As it stands, I go through the process of entering data on the Main form, open a secondary form and begin entering data on it - - then I say to myself "Whoops - I opened the wrong form" and I click my Undo button and close without saving - -
However, a record has been created in the table bound to the Main form.
Is there a way I can prevent this from happening and have no records created in any table until the "Save" button is clicked on the second form?
Thanks!
Tim
I have a main form, frmInspectionEvent that has some buttons that open various types of inspection forms - each bound to a different table. The Main form is bound to its own table.
The various types of Inspection forms have "Save Record" buttons on them. The Main form does not.
And the user has to enter specific data in specific controls on the Main form to even be able to open one of the various types of inspection forms.
As it stands, I go through the process of entering data on the Main form, open a secondary form and begin entering data on it - - then I say to myself "Whoops - I opened the wrong form" and I click my Undo button and close without saving - -
However, a record has been created in the table bound to the Main form.
Is there a way I can prevent this from happening and have no records created in any table until the "Save" button is clicked on the second form?
Thanks!
Tim