event procedure on key press

bunji

Registered User.
Local time
Today, 04:44
Joined
Apr 26, 2005
Messages
124
Does this happen on any key or can I specify the return key. If so how?

Thanks
 
You'll find a full answer in the standard Access help under the subject title
"Assign and action or set of actions to a key"
 
Thanks i had looked at at that before, i presume to use the enter key then the macroname would be {ENTER}? I guess the action would be run another procedure that had all the code that i wanted the form to do. So i would have to load this code into a module?.

How do i get the autokey macro to be running because surely i need to call it from the form, or do i put it in the db startup?

Or is there a simpler way to just listen for an enter key press within the vb code of the form?
 

Users who are viewing this thread

Back
Top Bottom