Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Check For Valid Date Before VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00745078
Message ID:
00980287
Vues:
47
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform