Hi there,
Im using dlookup to search for values entered into 3 texts boxes.
When one of the values isnt found, I get a 2471 Error and have to push end to move along with the data entry.
What I want to do, but cant seem to do it is:
I want the error to generate my own message box, then when the user hits OK i want to setfocus to the next entry box.
I cant figure out how to have the message box pop up on the error.
I found the help files difficult to understand. Could you please give me an example of trapping the error? Also would I put the error handling everyplace I use the Dlookup function that is causeing the error?
Thanks in advance,
Jordan
Im using dlookup to search for values entered into 3 texts boxes.
When one of the values isnt found, I get a 2471 Error and have to push end to move along with the data entry.
What I want to do, but cant seem to do it is:
I want the error to generate my own message box, then when the user hits OK i want to setfocus to the next entry box.
I cant figure out how to have the message box pop up on the error.
I found the help files difficult to understand. Could you please give me an example of trapping the error? Also would I put the error handling everyplace I use the Dlookup function that is causeing the error?
Thanks in advance,
Jordan