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
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top