Using a macro on a form to fill in a field with current time (1 Viewer)

jagstangman

Registered User.
Local time
Today, 21:19
Joined
Sep 28, 2005
Messages
20
Hi, the title says it all.

I have been trying this but i cannot figure out how to do it, I would like to know how to fill in a field on a form with the current time by clicking a button/macro.

Thanks in advance for anyone who can help me.
Much appreciated

-----
Steve
 

Rickster57

Registered User.
Local time
Today, 13:19
Joined
Nov 7, 2005
Messages
431
time

Behind the On Click event of that button : me.textfieldtostoretime=Time()
 

jagstangman

Registered User.
Local time
Today, 21:19
Joined
Sep 28, 2005
Messages
20
Cheer Rick.

I was playing around with VBA but couldn't find the solution, never thought it would be so simple.

Oh well, i've got alot to learn :-(
 

Users who are viewing this thread

Top Bottom