It has been a while since I have used access so I have a question. I want to pull the user name from windows. I have used the faq to due so... however now I would like it to be a global variable so that I dont have to load it on every form etc. As I recall years ago I had to do a splash screen to set the variable.
How do you set the variable and where do I put it, do I have to create another module etc?
The code used to get the variable is just as it is in the faq...
Dim strUser As String
strUser = fWin2KUserName
so now what? Any help appreciated.
How do you set the variable and where do I put it, do I have to create another module etc?
The code used to get the variable is just as it is in the faq...
Dim strUser As String
strUser = fWin2KUserName
so now what? Any help appreciated.