Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric field for year - detect 00 or no value entered?
Message
 
 
À
11/06/2004 10:01:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00912459
Message ID:
00912695
Vues:
8
You're welcome.

>Works like a charm. Thanks Sergey!
>
>Tracy
>
>>Tracy,
>>
>>In the Interactive Change only record the fact that "00" was entered or not.
>>
>>*Interactive Change
>>* lEntered00 - custom property of textbox
>>this.lEntered00 = (THIS.TEXT = "00")
>>
>>*Valid
>>DO CASE
>>CASE this.lEntered00
>>	this.value = ADDCENT(this.value)
>>CASE EMPTY(this.value)
>>	this.value=YEAR(DATE())
>>ENDCASE
>>...
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform