Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change currency from $ to Euro or another
Message
From
15/11/2018 09:48:39
 
 
To
14/11/2018 20:09:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01663344
Message ID:
01663441
Views:
52
>I believe what you're proposing would already be covered in the case where SET CURENCY was set prior to running the report. On the other hand, if you had implemented the "$" in the report as a separate label (because you wanted it to appear in a specific location and not "float" relative to the currency value), then making the change in the report form would be unavoidable.

Yes. It depends on what the scenario is, where the $ is provided, and how it's provided.

If you use the ReportListener method, you can always fix the currency. You may want to add one additional check to make sure every character in the string is all numbers, minus signs, parentheses, periods, commas, or currency symbols, so you don't replace something like "This is big $ right here" with something that makes it be "€This is big right here" or "This is big right here€". :-)

The multiple options are to accommodate the variables. But on the whole, SET CURRENCY + SET SEPARATOR + SET POINT will probably work.
Previous
Reply
Map
View

Click here to load this message in the networking platform