>I just to want to check Date Validation and want to display my own message rather then system message i.e. "Invalid Date".
In the Valid event SET NOTIFY OFF (supresses system messages) put your message and then issue a RETURN .F., as follows:
SET NOTIFY OFF
WAIT WINDOW "Your date entry stinks!"
RETURN .F.
In the LostFocus event, put SET NOTIFY ON if that's your app setting
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05