Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically removing zero's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01022697
Message ID:
01022703
Vues:
11
>I have a number field which is padded with zero's. For example:
>
>0000012345
>000013456
>
>How can I programmatically remove the zero's??
>
>Many Thanks

Try:
? TRANSFORM(VAL(CHRTRAN("ABCD0000110231",CHRTRAN("ABCD0000110231","0123456789",""),""))) -> 110231
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform