I have an employee table with a "USER" and "GROUP" field. The 'USER" field matches the environ(usernam e) for the current windows user. I have a form that shows the environ(usernam e) in a textbox called "txtUser". I need a textbox on the same form to show the "GROUP" that corresponds to the "USER" from the employee table. This will allow me to control what forms a user will be able to access without having to reprogram the if then else statements everytime we have an employee leave or gain a new employee. I will just be able to make changes to the employee table. Thanks.
Using environ(username)
Collapse
X
Comment