K
kealaz
I have a form whose Record Source is a query.
The query pulls information from a table 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 form. I would
like to have an error message appear if the number entered is not in the
drawing or part log.
Msgbox "Invalid drawing 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 a table 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 form. I would
like to have an error message appear if the number entered is not in the
drawing or part log.
Msgbox "Invalid drawing number. Please re-enter."
What code would I use, and where would I put it?
Thanks so much for your assistance!!!