I am trying to create a modified version of Access's User Level Security. My scenario is as follows:
I have an opening password screen in which the user will select from a dropdown box their UserID, I have 1 hidden fields on the form that will contain their user level. What I need is to place that user level info into a global or public variable and use it elsewhere. I have the variable declared in a module, the variable is
Public varUserLvl as string
This is where I get confused, how do I populate the variable then use it again later? I've never used global variables before so pardon the ignorance.
Any help is greatly appreciated
Bob
I have an opening password screen in which the user will select from a dropdown box their UserID, I have 1 hidden fields on the form that will contain their user level. What I need is to place that user level info into a global or public variable and use it elsewhere. I have the variable declared in a module, the variable is
Public varUserLvl as string
This is where I get confused, how do I populate the variable then use it again later? I've never used global variables before so pardon the ignorance.
Any help is greatly appreciated
Bob