Getting current time into field with click of button. (1 Viewer)

iamratman

Registered User.
Local time
Today, 13:58
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?
 

Brian900

Registered User.
Local time
Today, 20:58
Joined
Oct 10, 2002
Messages
51
Private Sub Command1_Click()

Text1.Value = Date()

End Sub
 

iamratman

Registered User.
Local time
Today, 13:58
Joined
Feb 22, 2006
Messages
22
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?
 

iamratman

Registered User.
Local time
Today, 13:58
Joined
Feb 22, 2006
Messages
22
alriiiighty than.

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

thanxs Brian900 and Vassago.
 

Users who are viewing this thread

Top Bottom