Rich just posted a solution for related to an incorrect entry of a date. It works when using the tab key to get out of the box. I need to go a step further yet and set a code that the same message shows up when any other action is taken (e.g. close the form or click on another object)