Hey guys,
Right now I have a command button on my main form that opens a browse box and lets the user browse for a document. Everything works fine, except if the user opens the browse box and hits cancel an error will pop up telling them that the path/file is invalid. As soon as they hit end on the error box everything is fine.
My question is, is there a way to make access skip that error message? I tried to research "On Error" commands but didn't come up with much.
Right now I have a command button on my main form that opens a browse box and lets the user browse for a document. Everything works fine, except if the user opens the browse box and hits cancel an error will pop up telling them that the path/file is invalid. As soon as they hit end on the error box everything is fine.
My question is, is there a way to make access skip that error message? I tried to research "On Error" commands but didn't come up with much.