>>>Thanks for your advice. The VFP internal date check still occurs before the Valid event.
>>>
>>>Remember, I am not treating the date field as a character field. It is a date field which is why VFP seems to edit it before the Valid
>>>event.
>>>
>>
>>you might want to use the spndate control I posted on the September Issue of the VFUG newsletter
>>
>>Arnon
>
>I tried a modified version of the old FPW method of doing this and it still works.
>
>In the init method of the object:
>SET NOTIFY OFF
>ON READERROR Wait Window *MyDateMessage*
>
>In the Destroy method of the object:
>ON READERROR
>
>Invalid dates produce MyDateMessage
>
>The help text on readerror says Included for backward compatability, use the Valid method of the Object. (if it would let us !)
BTW: It's a hasty example. The scope between Init & Destroy is too broad to be workable. Some cleanup like saving previous readerror, notify status, etc and restoring, is needed.
Glenn