Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'99 min.' shows up as 99 miN.
Message
De
09/04/1997 12:51:14
 
 
À
09/04/1997 12:07:18
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00027278
Message ID:
00027620
Vues:
33
>>Gino, I got couple minutes to test your problem and what I found:
>>1. VFP really doesn't like to have 'n' within inputmask expression.
>>But
>>2. This is way to work around:
>>Text1.Init event:
>>this.format="R"
>>this.inputmask="99 min."
>>this.value=space(2)+"n"
>>
>>Text1.InteractiveChange event:
>>if substr(this.value,3,1)"n"
>> this.value=left(this.value,2)+"n"
>>endif
>
>
>Thank you very much for taking the time to look at the problem. Does this code also work if the field is Numeric? By the way, your last reply was also very helpful.
>
> Thanks
> - Gino

I see that character type is more appropriate. You always can transform it into numeric when saving the record.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform