If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
do not save data on subForm
I have form which contains a subform. I placed code in the main form to not
save the information, if the user clicks on a "Close without Saving" button. If the subform contains data, the record is saved anyway. How can I drop the subform data if the user click on the "Close without Saving" button? Code in my main form: If Me.Dirty Then DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70 DoCmd.Close |
Thread Tools | |
Display Modes | |
|
|