B
Bruce
I'm learning to use Access...
I have this form with a button labeled "cancel". I just
want to "Undo" and "Close" the form. It works fine
if the user is editing the current record. But if he
hasn't changed anything an error message appears:
The command or action "Undo" isn't available now
How can I determine if it's in edit mode? I looked at
If EditMode = dbEditNone then goto XXX
but I'm not sure how to qualify "EditMode"
Can anyone assist me?
I have this form with a button labeled "cancel". I just
want to "Undo" and "Close" the form. It works fine
if the user is editing the current record. But if he
hasn't changed anything an error message appears:
The command or action "Undo" isn't available now
How can I determine if it's in edit mode? I looked at
If EditMode = dbEditNone then goto XXX
but I'm not sure how to qualify "EditMode"
Can anyone assist me?