J
jgrappy
I have a subform within a main form. On the subform is an option
group with three option buttons. When you click on any of the option
buttons a popup form opens to which the user inputs a date. I need
the user to be able to click a cancel button on the popup form that
would close that form without saving changes and undo changes on the
underlying subform (i.e. return the option button to it's original
selection) that initiated the popup. Can someone help me with the
right syntax to use in the code? Thanks much!
I tried this behind the click event of the "Cancel" button on the
popup, but it didn't work:
If [frmMaster].[frmSPRINT].Dirty Then
[frmMaster].[frmSPRINT].Undo
End If
group with three option buttons. When you click on any of the option
buttons a popup form opens to which the user inputs a date. I need
the user to be able to click a cancel button on the popup form that
would close that form without saving changes and undo changes on the
underlying subform (i.e. return the option button to it's original
selection) that initiated the popup. Can someone help me with the
right syntax to use in the code? Thanks much!
I tried this behind the click event of the "Cancel" button on the
popup, but it didn't work:
If [frmMaster].[frmSPRINT].Dirty Then
[frmMaster].[frmSPRINT].Undo
End If