Eddyoftheyear
Technical User
I have a staff_table with field name testdate. Each staff must take this one test yearly to use him/her in any activity.
I have Activity_tbl that contain staffID, what I want is that if we select the staffID from combobox in the activity_tbl,then we enter the services date, a Dlookup looks the staff in the staff_tbl and see if he or she's test date is taken before the service date, if not msgbox pop up mentioning, you must take the test first! If the field is blank in the staff_tbl, then mesgbox, must take the test.
The field in the staff table: StaffID, Testdate
the fields in the activity_tbl is Activityservicedate
I have Activity_tbl that contain staffID, what I want is that if we select the staffID from combobox in the activity_tbl,then we enter the services date, a Dlookup looks the staff in the staff_tbl and see if he or she's test date is taken before the service date, if not msgbox pop up mentioning, you must take the test first! If the field is blank in the staff_tbl, then mesgbox, must take the test.
The field in the staff table: StaffID, Testdate
the fields in the activity_tbl is Activityservicedate