Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to hot key current date 2

Status
Not open for further replies.

xwizardx

Programmer
Oct 13, 2005
16
0
0
US
Starting with a bound form containing a field named, [dtDateModified], I'd like the user to be able to set this field to the current date with a hot key sequence. Currently, the field opens with the last value that was set there and, to change the date, six keystrokes are necessary.

Failing that, is there some way to have the current date set into that field, even though it's bound and already set to something else?

Thanks,
Barry Davis

Barry Davis, President
Small Business Computing
 
From Keyboard shortcuts in help:
Ctrl+; = Today's date in Access
Ctrl+: = Time

Other possibilities include setting a Default Value and Autokeys.
 
On double click event:
Me![Your field name] = Date

or

On Dirty event:
Me![Your field name] = Date
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top