Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validation

Status
Not open for further replies.

RLight4444

Programmer
Jun 13, 2002
3
US
I am using a macro to prevent duplicate entries in a form. The macro uses MsgBox and CancelEvent. It is used in the Before Update event. When I enter a duplicate, I get my error message, then I get the default error message. I have learned that the CancelEvent is causing the default error message. I would like to suppress the default message, but, I cann't figure out how.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top