I am usually pretty efficient at finding answers and solving issues by doing a little research, but I am completely stumped. A few days ago I was conned into creating a database for the company that I work for because they are running the entire company (5 offices) off of excel spread sheets. Anyway, here is my problem....
I have several tables in the database, one for employee information (name, address, phone number, file number, hire date, etc..), and another table called disciplinary actions (file number, violation type, date, etc...). I have created a form for new employee entry, which works fine. Next i created a form to enter the disciplinary actions. On this form I have a field to enter the employee file number, once I have entered the employee file number I want it to auto populate the the first and last name (from the employee information table) in two other fields on the form once i tab or move out of the file number field.
If possible I would like to use report controls for the first and last name fields on the disciplinary action form because the first and last name is not going to be saved to the disciplinary action table. I am simply putting it in the corner of the form so the the admins have a first/last name reference to ensure they are entering the disciplinary action for the correct person.
Table 1
Employee Information
- File Number
- First Name
- Last Name
- etc....
Table 2
Disciplinary Actions
- File Number
- Violation Date
- Issmgr (Issuing Manager)
- etc....
Thanks,
Mark