J
Jens
Hi,
I have a search field on my form so our employees can quickly go to the job
record that they are currently working on. The job number is the primary key
for this form.
How can I prevent them from trying to call a job that does not exist? ie job
has not yet been created or a particular record has been deleted?
Code I am using to open the correct Job Number is:
DoCmd.OpenForm "tblJB2", , , "JobNumber = " & Me!RecordNUM
I have a search field on my form so our employees can quickly go to the job
record that they are currently working on. The job number is the primary key
for this form.
How can I prevent them from trying to call a job that does not exist? ie job
has not yet been created or a particular record has been deleted?
Code I am using to open the correct Job Number is:
DoCmd.OpenForm "tblJB2", , , "JobNumber = " & Me!RecordNUM