>Hi John,
>
>As you suggested, I tried but it is not working, whenever I put
>correct date it gives error and If I put "15/15/98" or any invalid range,
>It is not giving any error, and control is still stand there. In both case control stands there. Where I was wrong ?
You cannot check for date validation in valid event. Valid event would fire when you enter a correct date (that's why you get message there) and as you return .f. control again has focus.
Put "set notify off" in form init, load, DE.beforeopentables etc (choose one) to supress system messages. In interactivechange event or keypress of date textbox check the date and prompt message as necessary (a date textbox wouldn't lose focus with an invalid date).
Cetin