Getting current time into field with click of button.

iamratman

Registered User.
Local time
Yesterday, 22:05
Joined
Feb 22, 2006
Messages
22
I have been playing with the sample DB alastair69 donated in the sample db section of the site. "The nice timer function".

If you don’t start the timer right away you don’t have the correct time.

I haven’t figured out how to add a reset type of button to display the most current time in the start time field. Can any one help me out please?
 
Private Sub Command1_Click()

Text1.Value = Date()

End Sub
 
Thanxs Brian,

I could use some elaboration here. Command1 would be the name of my button?

text1 would be the name of the time field I want to have time displayed?
 
alriiiighty than.

it works now. had to play with it a little.

thanxs Brian900 and Vassago.
 

Users who are viewing this thread

Back
Top Bottom