Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From dollars ($) to Euro
Message
From
09/09/2014 09:02:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/09/2014 16:51:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01607194
Message ID:
01607211
Views:
81
>My app is made to work with $
>
>I will have to update it so it can work with $ and also Euro. Any tips so I don't suffer too much on this ;-)
>
>What is the character for Euro that I can use to replace $?

For the data structures, I would suggest an amount field, and a field for the currency. That way, you can easily expand to more currencies later. Ideally, the currency field would be a foreign key to a currency table.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform