TheSearcher
Registered User.
- Local time
- Today, 06:05
- Joined
- Jul 21, 2011
- Messages
- 383
I have a module called "Globals" in which I declare all of my global variables in the General Declarations section. I have one called glb_FullName that is declared as:
Public glb_FullName As String
I initialize this variable in my login form assigning to it the full name of the person who logs into the program. Whenever anyone updates a record a log is kept (in the form of a table) which holds the person's full name (glb_FullName) and a timestamp. This works successfully about 95% of the time. However, sometimes when a record is updated the log will show an empty string where the full name is supposed to be. Since the variable is assigned a value immediately after a successful login how could my log table contain an empty string?
Any ideas will be greatly appreciated. I'm using Access 2016.
Thanks,
TS
Public glb_FullName As String
I initialize this variable in my login form assigning to it the full name of the person who logs into the program. Whenever anyone updates a record a log is kept (in the form of a table) which holds the person's full name (glb_FullName) and a timestamp. This works successfully about 95% of the time. However, sometimes when a record is updated the log will show an empty string where the full name is supposed to be. Since the variable is assigned a value immediately after a successful login how could my log table contain an empty string?
Any ideas will be greatly appreciated. I'm using Access 2016.
Thanks,
TS