Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change currency from $ to Euro or another
Message
De
14/11/2018 10:53:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663344
Message ID:
01663346
Vues:
55
>How would you go about changing the currency in all reports from a dollar sign to a euro sign or British pound sign or another?

How is it specified currently? SET CURRENCY TO will change the currency symbol. But if it's encoded into a character string, you can use a ReportListener object and intercept the incoming string and replace all instances of the $ with something else.

You can also open up each .FRX file as a .DBF and update the value you'd like to change if you have a way to set it globally. To find out what to change, copy the report, delete everything except the one thing you want to change as an example, and then compare the two frx files together using sys(2007, x) where x is each field name tested one-by-one in a loop until you find out which fields have changed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform