itmtsn
asked on
Access VBA code: Pressing Esc to run code and exit the form
Hi,
I have a form which records via a barcode scanner products purchased for an honesty bar. In the old system after scanning the items wanted you hit the Escape key which recorded the purchases against your account and logged you out.
Do I use the "On Key Press" Event within the purchsing form and if so how do I tie the code to the pressing of the Esc key?
Thanks in adavnce.
Jon
I have a form which records via a barcode scanner products purchased for an honesty bar. In the old system after scanning the items wanted you hit the Escape key which recorded the purchases against your account and logged you out.
Do I use the "On Key Press" Event within the purchsing form and if so how do I tie the code to the pressing of the Esc key?
Thanks in adavnce.
Jon
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help.
thanks for the points & grade.
Jupiler78
thanks for the points & grade.
Jupiler78
ASKER