I am new to MS Access and so far i have managed to create two table i.e. Employee file & Discrepancy Table. I have created form with name Discrepancy Form.
Employee File Table Contents
1) Emp Id
2) First Name
3) Last Name
Discrepancy Table Contents
1) Emp Id
2) First Name
3) Last Name
4) Date
5) Amount
6) Explaination
7) Type with 2 fileds set (Cashier error & Customer service error)
8) Status with 2 fields set (New & Reviewed)
9) Auditor comments
Finally i have created a form using Discrepancy Table Contents now as mentioned i have emp id in the first box and then followed by rest of the contents. I am willing to insert autofill option in such a way that once i select emp id it should automatically populate first name & last name of the corresponding employee. I am stuck with this problem and i so new to VB & SQL both. I looked various tutorials tried all different options but looks like and i am not writing the correct string in VB editor. I would appreciate if someone could show me both the ways of creating autofill option by coding as well as non-coding both.