Hi Nadya,
I know the trick, but I have it on home computer.
MartinJ
>Hi Martin,
>
>Have you or somebody else was able to implement date validation for date fields instead of VFP errors? I have the same problem and I'm thinking what would be the most elegant solution for this.
>
>>Hi, Allan.
>>
>>>The user will set the date format once and not on a field by field basis.
>>>I will then 'set date' as you suggested.
>>>I don't want to do validation * in addition * to VFP - I want to validate
>>>* before/instead * of VFP.
>>>I was hoping that there was a built-in function or class that would allow me to mimic VFP date checking.
>>
>>I understood that. I just can't imagine what kind of validation you want to do different from VFP's own.
>>
>>Then you can try doing it in the InteractiveChange. Of course you should ignore the value until it is complete. Then you can apply any validation *before* the user tries to get out the field, thus triggering VFP valid.
>>
>>Hope this helps,