Assign Keyboard Function ( F ) Keys

S

Simon One

Access 2000

Is it possible for me to assign a command to a keyboard function key ?

I would like to use the keyboard F9 key to print a report

Many thanks in advance

Simon
 
A

Allen Browne

Use a macro named AutoKeys.

In the Macro Names column (View menu in macro design if you don't see it),
use:
{F9}
 
P

Peter Hibbs

Simon,

Create a new Macro and name it AutoKeys (note that it has to be called
this).

In the Macro Name column enter {F9}
In the Action column drop down box, select OpenReport (or whatever
function you want to execute).
Select the report in the Report Name field at the bottom of the form.
Save and exit. Pressing F9 will run the report.

HTH

Peter Hibbs.
 
S

Simon One

Many thanks Peter, works a treat


Peter Hibbs said:
Simon,

Create a new Macro and name it AutoKeys (note that it has to be called
this).

In the Macro Name column enter {F9}
In the Action column drop down box, select OpenReport (or whatever
function you want to execute).
Select the report in the Report Name field at the bottom of the form.
Save and exit. Pressing F9 will run the report.

HTH

Peter Hibbs.
 
Top