Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Check For Valid Date Before VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745078
Message ID:
00980287
Views:
48
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,
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform