Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Whats Wrong Here?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00353435
Message ID:
00353485
Vues:
19
>I have a text box with:
>
>.Format = "R"
>.InputMask = "$$$,$$$.99"
>
>And when I run the form, the textbox shows "$$$,$$$."
>
>So what am I doing wrong here?

Maybe this will help it is from Hackers Guide:

Currency formatting is very handy, but sometimes confusing. The picture clauses to display currency use the USA-specific dollar sign, point and comma, which might cause you to think these were only good for U.S. currency. But, no, Visual FoxPro is an international application—surely Microsoft wouldn't be so America-centric! Well, yes and no. The point and comma are placeholders for the correct currency symbols in your application, as defined with SET POINT and SET SEPARATOR. But the dollar sign is, well, just a dollar sign. To get the proper currency formatting (as specified with SET CURRENCY), you need to use the "$" Format property, not the "$" InputMask.

I hope it leads you to something.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform