But neither of those events are firing when I press escape to clear/undo
changes to a record. The record clears or reverts back to its original data,
but the events don't seem to fire. I am using Access 2003 BTW.
What I am trying to achieve is this:
When the contents of a combobox changes to an item with "TR" as the first
two characters, make two other controls not visible. If the controls
already are invisible and something other than a "TR" item is chosen, make
the controls visible again.
What is not working is this:
When the record that starts out as say an "SC" is being edited, if the
controls is changed to a "TR" item (which makes the controls invisible) then
ESC is used to back out of that change, the controls never reappear.
I have used both the Form_Undo and the Control_Undo events and neither fires
when ESC is pressed.