Hi,
I have a form that I enter data into that updates the table CNA. When I enter data in the Site No field, I have written code to check the table "Agencies" and compare the Site No fields for a match. I loaded the Agencies table into a recordset in form load and then did the comparison in the Site No_LostFocus() function.
The problem is, I need to check the next field Instructor No with the table "Instructors" to see the the Instructor No matches InstructorID. How can I do both of these comparisons in the same form?
Any help would be much appreciated
I have a form that I enter data into that updates the table CNA. When I enter data in the Site No field, I have written code to check the table "Agencies" and compare the Site No fields for a match. I loaded the Agencies table into a recordset in form load and then did the comparison in the Site No_LostFocus() function.
The problem is, I need to check the next field Instructor No with the table "Instructors" to see the the Instructor No matches InstructorID. How can I do both of these comparisons in the same form?
Any help would be much appreciated