date field

shaz123

Registered User.
Local time
Today, 08:17
Joined
Sep 8, 2006
Messages
81
HI,

How do u get a date field to update everytime you click on a commmand button.
 
To what do you want it to "update"? How about in the Click event of the Button put:
Me.DateField = Date()
or
Me.DateField = Now()
...using your DateField name of course.
 
Hii Rural Guy,

I have tried that way,what im trying to do is everytime a command button is clicked on the form, i would like to pick up the date and individual does this, however when i click on a number of command buttons it picks up exactly the same time.

I have got a field on a form which is equalt to now(), within my coding i pick the date and time from this field. But when clicking on diff command buttons gives me the same time. Is there away i can update the date field each time i click on a command button.
 
Every time you assign a field/control to Now() you will get a different time.
 

Users who are viewing this thread

Back
Top Bottom