George Too
Registered User.
- Local time
- Today, 10:15
- Joined
- Aug 12, 2002
- Messages
- 198
Hello all,
I was wondering how to do this:
A table has users and levels for the users. I have the following line of code:
Criteria = "[User] = '" & Environ("UserName") & "'"
This line searches for the username in the table just fine. The following field in the record is "level" which can be 1 or 2. How can I have Access find the user and do something based on the level for that user? In other words, find the user and find the value for the level field.
Thanks for your help.
GeorgeToo
I was wondering how to do this:
A table has users and levels for the users. I have the following line of code:
Criteria = "[User] = '" & Environ("UserName") & "'"
This line searches for the username in the table just fine. The following field in the record is "level" which can be 1 or 2. How can I have Access find the user and do something based on the level for that user? In other words, find the user and find the value for the level field.
Thanks for your help.
GeorgeToo