Trace which Key button was pressed?

N

Norman Fritag

Hi there,

I have one subform in a Master form, which is set to add mode only.
I allow only for data entry. Sofar all words fine.
All information on the main form is set for display only and have no tab
stops, and all controls are looked.

1) I like to know what event is triggered, when the user presses the <esc
button>, because the subform doesn't remain in addmode, it shows the first
record and subsequent records?
2) I use an unbound textbox which for date entry, which is not affected ,
hence keeps the value entered.
The user how ever is believed that he / she has entered the date already
as they see it?
Question:
When using the <esc button> is the whole form affected or only then entry
sub form?
How could I catch the <esc button> click and then run some code to refresh
the addmode status.

Kind regards

Norman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top