Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access07 - Can you create Shortcut or Special Function keys in Acess?

Posted on 2014-12-23
3
Medium Priority
?
119 Views
Last Modified: 2014-12-23
Hello Experts.

I have an unbound keypad form that I want to the user to be able to bring up whenever they are in a numeric input field.  To do that, I envision them hitting the F7 or some other non dedicated by access Function key.  Is there a way to do this?
0
Comment
Question by:wlwebb
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 2000 total points
ID: 40514821
Yes, by using an AutoKeys macro. It's based on very old technology, but it still works.

Create - Macro.

Go to Design - Show/Hide - Macro Names.

In the Macro Name column, press F7.

In the Action column, put your action, e.g. RunMacro, and complete the rest of the section.

Save the Macro as AutoKeys.

For more information, see https://support.office.com/en-sg/article/Run-an-Access-macro-by-using-a-keyboard-shortcut-0d267570-d3da-46eb-9bfb-a3c81af676be
0
 

Author Comment

by:wlwebb
ID: 40514987
Ok... I tried this.....

Created a Macro that I saved as [F7Macro]
in the macro Name field first I tried just hitting the F7 key... it put nothing there so I typed {F7}
Action is RunMacro
Arguments is OpenKeypad,1,1

Created a Macro that I saved as [OpenKeypad]
In that I put
Action OpenForm
Arguments frm_Keypad,Form,,,,Normal

When I hit F7 key nothing happens.... but if I double click on the Navigation bar F7Macro it does open the keypad form.

?????????????????????
0
 

Author Closing Comment

by:wlwebb
ID: 40515091
Got it............

The step I missed was the Save As.... that you HAVE TO type Autokeys ... it's a hidden option
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question