Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the user Identification

Status
Not open for further replies.

Aietoe

Technical User
Nov 30, 2000
85
CA
Hi,

Using Access97, i have a database that is used by many users.
In a query, a table is updated with a field "Currentuser".

I always receive the identification «ADMIN» from whatever user is updating the table!!!!!!

Any hint would be appreciated.

Thanks

Aietoe

 
Hi

CurrentUser() only returns the current user if you are using Access security and your users are logging in, otherwise it returns Admin, as you have found

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Thank you very much Ken.
 
You could use Environ("username")
 
Thanks a lot Rick39.
While i was waiting for a solution , i did try that one and it work fine.

I am always surprised how fast we get answers and fine solutions from that site...... :eek:)

Thanks again
 
Glad it helped
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top