Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing leading zero's
Message
De
22/04/2004 07:02:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00897143
Message ID:
00897145
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>How do I remove leading zero's in a report??
>
>I have a field on my report named Task ID which looks like the following:
>
>000911
>000912
>000913
>
>I want it to report like:
>
>911
>912
>913
>
>any help would be much appreciated

ltrim(str(val(TaskID)))
or:
trans(val(TaskID))
or:
Directly when creating your report cursor :
select val(tAskID) as TaskID ..
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform