J
jen
I have been working on this issue for hours. I have a
main form and a subform. There is a cancel button on the
main form. The cancel process does not work correctly if
the user changes something on the subform OR if the user
changes something on the main form and subform. The
changed values on the subform are saved and shouldn't be
(since user hit cancel). this is what i have in my
cancel_click:
me.controls.item("frmMain").setfocus
docmd.domenuitem acFormBar, acEditMenu, asUndo, ,
acMenuVer70
me.controls.item("frmSubform").setfocus
docmd.domenuitem acFormBar, acEditMenu, asUndo, ,
acMenuVer70
Does anyone have any ideas?.. this is driving me crazy..
spending so m uch time on this.. any help is very much
appreciated! thanks.
main form and a subform. There is a cancel button on the
main form. The cancel process does not work correctly if
the user changes something on the subform OR if the user
changes something on the main form and subform. The
changed values on the subform are saved and shouldn't be
(since user hit cancel). this is what i have in my
cancel_click:
me.controls.item("frmMain").setfocus
docmd.domenuitem acFormBar, acEditMenu, asUndo, ,
acMenuVer70
me.controls.item("frmSubform").setfocus
docmd.domenuitem acFormBar, acEditMenu, asUndo, ,
acMenuVer70
Does anyone have any ideas?.. this is driving me crazy..
spending so m uch time on this.. any help is very much
appreciated! thanks.