Hi - it looks like my post did not post for some reason - so if it does later, I apologize for a dupe post...
I do not want to use ACCESS's built in security to establish user logon id's.
I would like the user to type in their "userid" on a main form into a text box. In the after update event, I wish to declare this as a global variable to be used whenever "userid" is referenced anywhere else in the program (i.e. on an input form---displaying current user's id)
The variable should clear when the program exists.
Is this a matter of declaring a sub instead of a private sub in the after update event of the text box? or do i have to create a module?
Also--what happens when 2 users are using the program at the same time?
Thanks in advance.
Deb
I do not want to use ACCESS's built in security to establish user logon id's.
I would like the user to type in their "userid" on a main form into a text box. In the after update event, I wish to declare this as a global variable to be used whenever "userid" is referenced anywhere else in the program (i.e. on an input form---displaying current user's id)
The variable should clear when the program exists.
Is this a matter of declaring a sub instead of a private sub in the after update event of the text box? or do i have to create a module?
Also--what happens when 2 users are using the program at the same time?
Thanks in advance.
Deb