I have a form with two fields on. Callsign and Time. Callsign is entered manually by the user as is time.
I want to check the callsign entered in the form with the callsign in the logged_on_unit table. If the callsign on the form matches one in the table it checks to see whether there is a logoff time. If so it ignores it. If not then a error message is displayed and the user put back in the callsign field of the form to enter another callsign.
This will be done using VBA code on the beforeupdate event on the callsign field on the form.
I can't get it to read the records in the logged_on_units table. It needs to work is way down the whole table each time.
Your help would be much appreciated.
I want to check the callsign entered in the form with the callsign in the logged_on_unit table. If the callsign on the form matches one in the table it checks to see whether there is a logoff time. If so it ignores it. If not then a error message is displayed and the user put back in the callsign field of the form to enter another callsign.
This will be done using VBA code on the beforeupdate event on the callsign field on the form.
I can't get it to read the records in the logged_on_units table. It needs to work is way down the whole table each time.
Your help would be much appreciated.