Hi all,
I have an access database that has a “user login” section. When that user logs in, it stores their username as a global variable, so I can call it on other forms for security purposes.
Meaning If I log in as John Doe, and I fill out a form, there is an E Signature area that is automatically populated with John Doe.
However my client only has Access 2003, I saved the database as 2003 no problem, except I got an error on my forms that use the global variable that says it cannot save because of the module of the Global variables. I need some way to get the value of the logged in user into those forms that need the E-Signature.
Two questions:
Can I still use the global variable process?
What’s another way I can get them in their?
my glabal variables stored in a module:
Option Compare Database
Global gstruser As String
Option Explicit
than on the form i have the code
Text42.Value = gstruser
Thanks guys, I hope this makes sense.