Hello Everyone,
I have created an access database with a simple login screen. Once the user is authenticated the database brings the user to the Advice Form. I have a code On Load built for the Advice Form to have the Employee name populated automatically. However, when I complete this form and save it, the database saves the record in the advice table with the Employee ID (Autonumber) instead of the Employee Name. Can someone look at the code and tell me what I'm doing wrong. I would appreciate any help!
For testing I created a user: joe password 123
Attached is a sample of my database
I have created an access database with a simple login screen. Once the user is authenticated the database brings the user to the Advice Form. I have a code On Load built for the Advice Form to have the Employee name populated automatically. However, when I complete this form and save it, the database saves the record in the advice table with the Employee ID (Autonumber) instead of the Employee Name. Can someone look at the code and tell me what I'm doing wrong. I would appreciate any help!
For testing I created a user: joe password 123
Attached is a sample of my database