How Do I Capture User info In a Form

shadows

New member
Local time
Today, 15:49
Joined
Jan 23, 2006
Messages
6
:) Hi Guys,
I have a small problem, hope you can help me out. I have created a a form in Access for data entry. But I would like the form to capture the data and time and the user who's entering the data into the form.
How do I do that. Been trying to figure it out:rolleyes: . Hope you can help. Attached is the screenshot of the form I created. Thanks a bunch



my.php
 
One way to achieve this: in the form's On Dirty event put the following:

Me.UpdatedDate = Date
Me.UpdatedUser = Application.CurrentUser

This way, anytime a user types anything on the form (makes it dirty) the two fields will be updated. If the user is just scrolling through the records, the fileds will not be changed.

Larry
 
hey thanks larry... will try it out now
 
hi larry,
i'm not too sure what you ment by "On Dirty" event? is it that i right click on the properties in the text box? please guide. highly appreciated. thanks.

Laurentech said:
One way to achieve this: in the form's On Dirty event put the following:

Me.UpdatedDate = Date
Me.UpdatedUser = Application.CurrentUser

This way, anytime a user types anything on the form (makes it dirty) the two fields will be updated. If the user is just scrolling through the records, the fileds will not be changed.

Larry
 

Users who are viewing this thread

Back
Top Bottom