Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change currency from $ to Euro or another
Message
De
15/11/2018 09:48:39
 
 
À
14/11/2018 20:09:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663344
Message ID:
01663441
Vues:
53
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform