I have a form on which I have a combo box that is used to select an employee's name. I then want to see if this employee already has a record in a referral table. Here are my table layouts:
Employees
EmployeeID
Name
Referrals
Date
ReferralType
RefEmployeeID
.
.
.
The combo box is based on the Employees table and displays only the employee Name. After an employee is selected, I want to check the Referral table to see if there is already a record that has the same RefEmployeeID. If a referral record is found, I want to make another field on the form visible.
Any help would be appreciated.
Thanks,
Joe
Employees
EmployeeID
Name
Referrals
Date
ReferralType
RefEmployeeID
.
.
.
The combo box is based on the Employees table and displays only the employee Name. After an employee is selected, I want to check the Referral table to see if there is already a record that has the same RefEmployeeID. If a referral record is found, I want to make another field on the form visible.
Any help would be appreciated.
Thanks,
Joe