Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to format 99999-999 ?
Message
De
16/04/1999 21:57:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209292
Message ID:
00209293
Vues:
15
>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.

An .InputMask of 99999-999 should take care of the formatting. And it _should_ display '0' if the value is empty.
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform