Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Validation Problem
Message
De
14/06/1999 13:12:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00229477
Message ID:
00229550
Vues:
19
Unbind the control from the date field and make it a character type by clearing the Value property. You could then put your code in the Valid() event. You would, of course, have to manualy validate that the entered date is valid and you will have to get/save the value from/to the field.

HTH

>I read some posts about a date validation problem, mainly, the date is validated before the valid event in the textbox. Well, I'm also grappling with this problem. I've set set up a bit of code to autocomplete the date for the user, ie: they enter 02/31/1999 it would change it to 02/28/1999. I've got this code set up in the valid() event, but it never fires if they enter an invalid date....what to do?? Anyone have any solutions/suggestions?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform