Basic & Simple Question But I Am Thick!

.Justin

Registered User.
Local time
Today, 15:12
Joined
Jun 29, 2009
Messages
38
Hi there,

What I have is 6 fields:

Time Allocated Call
Time Mobile
Time On Scene
Time Leaving Scene
Time At Destination
Time Clear

What I want is a basic code so when I click a button it will put the current time in for example if its 23:29 that the team is allocated the call i can click a button and it puts it into the field....

This is basic but i can't work it out sorry!
 
In the click event of the command button use

Me.YourFieldName = Now
 
And actually, if you want to have one button you can set it so that if you put your cursor in a specific field you can use that one button by using:

Screen.PreviousControl.SetFocus
Screen.ActiveControl = Now
 
Last edited:

Users who are viewing this thread

Back
Top Bottom