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.
 

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