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!

Access Security Code

Status
Not open for further replies.

mooneye

Technical User
Jan 14, 2002
27
IE
I am trying to disable and enable controls based on user security levels. I have created a table with users and their respective workgroups and based a userform on this table.
My problem arises with the code
[user]=CurrentUser()
this only overwrites the first value in the user table though for me.
I want to match the Currentuser() to the respective record in the user table so that I can then retrieve the usergroup the Currentuser is a member of.
Any help would be greatly appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top