Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to format 99999-999 ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209292
Message ID:
00209294
Vues:
18
Sorry guys, i was stupidely working on the wrong field. I must take a break now...

Of course 99999-999 did the job for the report and for the input. I still didn't figure out how to have 0 instead of blank (for example, 1234123 would appear as 01234-123) ???

>Argh! I am getting crazy with this...!
>
>I am trying to put a proper format property to input a glaccount (defined as numeric 8, but really it is 12345-123). I would like the input to come with 0 instead of blank, so when the user comes in the fields, when empty or 0, it put 00000-000. The format command seems quiet cryptic to me, I did try several combinaison without success.
>Is it possible to do it?
>
>Also, in the report, I want to print 01234-123, not 1234123. No success at all. Any clue?
>
>Thousand thanks.
>Eric.
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform