Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating dates
Message
 
À
16/01/2002 10:07:31
Barry Newton
Plan International
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00605376
Message ID:
00605380
Vues:
14
Barry,

Your problem is that VFP checks the data type for validtiy before your control gets its valid run. With a totally invlaid date your valid does not run. The solution is to SET NOTIFY ON, but do not return .F. from the vlaid when your code finds a problem. Instead RETURN 0 which will retain focus in the control but will not display the valid failure message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform