issue with auto populate system time!!!!

johnyjassi

Registered User.
Local time
Today, 08:44
Joined
Jun 6, 2008
Messages
64
hi experts,

I am new in ms access, can someone help me with this issue. I want to command button on the form, by clicking on it, it should pupolate the text box with system time only.

Any help will be apprecited.
Thanks in advance!!!
 
Me.txtBoxname= Time() in the click event of the command button

Brian
 
It worked!!!
thanks Brian!
and one more question what if i want to auto populate the users name that is logged into the system!!!!!!!

Thanks in advance.
 
Last edited:
If memory serves me correctly its

me.txtUserName = Environ("Username")

It has been asked on the forum before so if that is incorrect do a search.

Brian
 
Happy to help and thanks for coming back its nice to know the old grey cells still work. :D

Brian
 

Users who are viewing this thread

Back
Top Bottom