I have a form based on table1
when i enter a number eg 1234 in field JobNumber I want to check that 1234 exists in table2 field Job_No and field status = "A" or "P"
If 1234 does not exit in table2 then a mesage apears stating Job number does not exist
If 1234 exists but staus is not equal to "A" or "P" then a message apears stating Job is closed
Thanks in advance
when i enter a number eg 1234 in field JobNumber I want to check that 1234 exists in table2 field Job_No and field status = "A" or "P"
If 1234 does not exit in table2 then a mesage apears stating Job number does not exist
If 1234 exists but staus is not equal to "A" or "P" then a message apears stating Job is closed
Thanks in advance