Logging Usernames

benwo

Registered User.
Local time
Today, 03:12
Joined
Nov 29, 2005
Messages
39
Hi

I have a database which uses the auto dial function. when someone hits the dial button the date and time of that "click" is logged in a table and basically shows when the record was called. does anyone know of a way to log the username (i.e. windows login) of the person who is logged into that PC when that button is pressed?

the date and time are logged by

date.value = Date
time.value = Time

Any help would really be appreciated

Thank you

Ben
 
You can uset the Environ function to get the username of the person logged into windows.

username.value=Environ("USERNAME")

Hope this helps!!

Thanks
Keith
 
thats works perfectly, thank you!!
 

Users who are viewing this thread

Back
Top Bottom