on click time entry

J

John

I am working on a form that I need to set it up so that when I click a
command button or in the field it will put in the current time in the field
for me
 
S

Steve

Hello John,

The following code will put the current date and current time in the field,
DateTime:
Me!DateTime = Now()
With this you have the date and time so you can extract the time for a
certain day with a query using calculated fields.

The following code will put the only thecurrent time in the field, DateTime,
as you asked:
Me!DateTime = Time()

Steve
[email protected]
 
Top