K
kealaz
I have a report whose Record Source is a query.
The query pulls information from two tables based on information entered by
the user, using the following in the Criteria.
Like [Enter Drawing Number:] & "*"
Right now, if an incorrect number is entered, I get a blank report. I would
like to have an error message appear if the number entered is not in the
drawing or part log.
Msgbox "Invalid part number. Please re-enter."
What code would I use, and where would I put it?
Thanks so much for your assistance!!!
The query pulls information from two tables based on information entered by
the user, using the following in the Criteria.
Like [Enter Drawing Number:] & "*"
Right now, if an incorrect number is entered, I get a blank report. I would
like to have an error message appear if the number entered is not in the
drawing or part log.
Msgbox "Invalid part number. Please re-enter."
What code would I use, and where would I put it?
Thanks so much for your assistance!!!