D
Dermot Hayes
Using Access 2002 I have made up a table for fields:- Job
Number, Model Number and Serial Number. I have created a
Parameter Query for all three fields to prompt for "Enter
Job Number". I have created a form based on the parameter
query. On the Form I have a Command Button which when
clicked runs a macro to trigger the Parameter Query, which
I have labelled as Next Job.
The table will always have Job Numbers and Model Numbers
entered into it.
My Question: - How do I write a validation rule so that
when an Incorrect Job Number or rubbish is Entered into
the Parameter query, instead of a valid Job Number, a
message box is displayed saying "Please Enter A Valid Job
Number"
If I were to leave it as it is, some one may not notice
they have called up a blank record and enter a serial
number, generating and unwanted record into the table.
I am not sure if it is a validation rule I would use for
this....Any help and advise would be appreciated.
Number, Model Number and Serial Number. I have created a
Parameter Query for all three fields to prompt for "Enter
Job Number". I have created a form based on the parameter
query. On the Form I have a Command Button which when
clicked runs a macro to trigger the Parameter Query, which
I have labelled as Next Job.
The table will always have Job Numbers and Model Numbers
entered into it.
My Question: - How do I write a validation rule so that
when an Incorrect Job Number or rubbish is Entered into
the Parameter query, instead of a valid Job Number, a
message box is displayed saying "Please Enter A Valid Job
Number"
If I were to leave it as it is, some one may not notice
they have called up a blank record and enter a serial
number, generating and unwanted record into the table.
I am not sure if it is a validation rule I would use for
this....Any help and advise would be appreciated.