I have created a Form_A based on Fields from Table_A.
In Form_A, I have a command button called "CANCEL" and a command button "SAVE".
The "CANCEL" button when click will run a marco that will close Form_A without saving any data. The "SAVE" button when click will run a marco that will saved all the data.
In Form_A properties, I set the OnClose to a marco that will close the Form_A without saving any data.
I enter some of the field in Form_A and click on "CANCEL". However when I open the Table_A, the data which was enter in Form_A was saved in Table_A. The marco did not seem to work?
Can anyone advise how to ensure that whatever I enter in the Form_A will not be saved in Table_A unless I click on the "SAVE" button?
Thanks.
In Form_A, I have a command button called "CANCEL" and a command button "SAVE".
The "CANCEL" button when click will run a marco that will close Form_A without saving any data. The "SAVE" button when click will run a marco that will saved all the data.
In Form_A properties, I set the OnClose to a marco that will close the Form_A without saving any data.
I enter some of the field in Form_A and click on "CANCEL". However when I open the Table_A, the data which was enter in Form_A was saved in Table_A. The marco did not seem to work?
Can anyone advise how to ensure that whatever I enter in the Form_A will not be saved in Table_A unless I click on the "SAVE" button?
Thanks.