M
MArend
I've got a Cancel button I created on a detail form. If
there were no changes, an error pops up stating "The
command or action Undo is not available at this time".
The wizard for creating command buttons doesn't offer a
Cancel. I want it to cancel any changes on the screen
and close the form. So to create it, I copied the code
from an Undo and the Close buttons.
Do I have to check for any changes before issuing the
Undo? Is there a better way to cancel changes and close
a form? I've looked at runcommand, but don't see anything
better.
Thanks for any help.
Mike A.
there were no changes, an error pops up stating "The
command or action Undo is not available at this time".
The wizard for creating command buttons doesn't offer a
Cancel. I want it to cancel any changes on the screen
and close the form. So to create it, I copied the code
from an Undo and the Close buttons.
Do I have to check for any changes before issuing the
Undo? Is there a better way to cancel changes and close
a form? I've looked at runcommand, but don't see anything
better.
Thanks for any help.
Mike A.