Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Padding with zeroes
Message
De
18/09/1998 08:22:38
 
 
À
17/09/1998 21:28:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00137666
Message ID:
00138140
Vues:
16
>>>You can try this in lostfocus
*lostfocus
>>>this.value = substr(this.value,1,1)+;
>>>        padl(val(substr(this.value,2)),5,"0")
Inputmask would be something like "A99999" and format "!".
>
>>Change lostfocus code to :
this.value = substr(this.value,1,1)+;
>>        padl(substr(trim(this.value),2),5,"0")
Cetin

TRANSFORM("@L 999999",XXX) pads XXX representation with zeroes; I would try to use that instead of PADL().
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform