View Full Version : Using a macro on a form to fill in a field with current time


jagstangman
11-15-2006, 11:54 AM
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
11-15-2006, 12:16 PM
Behind the On Click event of that button : me.textfieldtostoretime=Time()

jagstangman
11-15-2006, 01:14 PM
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 :-(