Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entering invalid dates
Message
De
05/06/2001 07:33:20
 
 
À
04/06/2001 17:17:50
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00514752
Message ID:
00515009
Vues:
15
>>isblank(ctod(allt(.Text1.Value)))
>>
>>this will return .T. if the date invalid ( according to VFP ).
>>
>>- jer
>
>But if the date is valid, this gives an error.

what version are you running...I just tried to make this through and error and is wouldn't.

isblank(ctod(allt("2001/12/02"))) = .T.
isblank(ctod(allt("02/12/2001"))) = .F.
isblank(ctod(allt("blablablaa"))) = .T.
isblank(ctod(allt("06-12-2001"))) = .F.
isblank(ctod(allt("06-45-2001"))) = .T.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform