I'm hoping someone can help me with a problem that has been plaguing me for hours now. I do apologize if this belongs in the Forms forum, but I wasn't sure where to put it.
Here we go:
I have a log in scenario the user has to go through which validate their user log-in and typed in password against tblEmployees. If the credentials are good the users ID number is stored in a public variable named lngMyEmpID.
The log-in procedure works well, and lngMyEmpID does store the users ID correctly.
My primary problem is that I need lngMyEmpID to auto populate a USER field on each of my forms so as staff enter information it puts their user stamp on the record. I can not figure out how to make this information automatically appear on the form.
The other thing that I would like to accomplish is that right now lngMyEmpID stores the Employees record number (1,2,3,4) and not their name (Billy, Sue, Mike, Jen). How would I go about doing this so when they enter records it stamps with their Name and not their record number?
Thank you in advance.
Here we go:
I have a log in scenario the user has to go through which validate their user log-in and typed in password against tblEmployees. If the credentials are good the users ID number is stored in a public variable named lngMyEmpID.
The log-in procedure works well, and lngMyEmpID does store the users ID correctly.
My primary problem is that I need lngMyEmpID to auto populate a USER field on each of my forms so as staff enter information it puts their user stamp on the record. I can not figure out how to make this information automatically appear on the form.
The other thing that I would like to accomplish is that right now lngMyEmpID stores the Employees record number (1,2,3,4) and not their name (Billy, Sue, Mike, Jen). How would I go about doing this so when they enter records it stamps with their Name and not their record number?
Thank you in advance.