I have an data input form where the user selects an "Employer" from a combo box cboEmployer that looks up a value in the table tblEmployers. This table has four fields - 1. EmployerID, 2. Employer 3. EmployerAddress 4. EmployerCode. The user then in the next combo box cboEmployerAddress selects the Employer's address derived from the same table tblEmployers. It is possible for the user to accidentally select the wrong address. What I want is for the form to check that the address relates to the correct employer and then throws up an error message if the wrong address is selected - ie. on selecting the address the form looks at the Employer's name and confirms that the address is good.
How can I do this please.
How can I do this please.