event programming when adding record with keyboard shortcut

V

vickimiller

How do I trigger an event procedure when a keyboard
shortcut (CTRL/+) is used to add a record? If the answer
is onkeypress, please provide an example of how to define
the key combination which should trigger the event.

This seems like an easy one but I have not been successful
solving it.

Thanks
 
V

Van T. Dinh

Use the Form_Current Event and check that the NewRecord Property of the Form
is True.
 
Top