Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whats Wrong Here?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353435
Message ID:
00353485
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform