Can I assign a function key to a button?

  • Thread starter Thread starter DEVOURU
  • Start date Start date
D

DEVOURU

I would like to assign 2 function keys to insert a date and time to a timein
and a timeout form field. Bunch of thankx in advance.

-JS.
 
The are shortcut keys already in-built in Access for this.

Ctrl + ; will enter today's date
Ctrl + Shift + : will enter current time.
 
Check out "shortcut keys" in Help. It lists all the functions you can
access via keystroke combinations.
Ctrl + ; = Current Date
Ctrl + Shift + : = Current Time
hth
Al Camp
 
I appreciate the reply. I have a form the requires minimal ketboard use for
employees on a production floor. They scan a work order number and id badge.
I was hoping to label function keys to do the "built-in" process. It would
be too many key strokes, and difficult for many. :)

-JS
 
Yes, you can if you want to.

Check Access Help on AutoKey Macros.

Alternative, you can use the Form's KeyPreview Property.

Check Access VB Help on KeyPreview.
 
I was playing around with Autokey macros last night, and I figured it out.
I'm getting good at this stuff. :) Thankx for the reply.

-JS
 
Back
Top