stop error messages for dates

  • Thread starter Thread starter julie
  • Start date Start date
J

julie

hi,
How do I stop the error messages from popping up that
let the user know they have inputted the date
incorrectly? I would like to insert my own error
message...
thanks!
 
hi,
How do I stop the error messages from popping up that
let the user know they have inputted the date
incorrectly? I would like to insert my own error
message...
thanks!

Trap the error in the Form's Error event and write you're own message.

If DataErr = ? Then
MsgBox "Bad entry"
Response = acDataErrContinue
Else
Response = acDataErrDisplay
End If
 
Back
Top