PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • The different steps
  • The Euro in your data files
  • Your application manages Euros and another currency
  • Your application manages Euros only
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Creating an application that manages the Euro
The different steps
The method for creating an application supporting the switch to the Euro is as simple as the method for creating a WINDEV application. The operations to perform are as follows:
  1. Create your project.
  2. Create the associated analysis. The items used to store currencies must be "Currency" items.
  3. Generate the analysis.
  4. Describe the windows, reports, ... For each currency value that must be supported:
    • specify that the associated control (edit control, table column or report control) must be a "Currency+Euro" control,
    • specify the display currency,
    • specify the stored currency.
  5. Initialize the exchange rates of the currencies not used in the program via eInitCurrency: use an exchange rate equal to 0.
  6. Run the test of your application.
  7. Create the library (if necessary) and the executable.
  8. Create the setup of the application and distribute your programs.
The Euro in your data files

Your application manages Euros and another currency

For a stronger security, we recommend that you keep all your currency values both in Francs and in Euros. Therefore, if your file uses amounts, we recommend that you use the following items:
  • amount in Francs,
  • amount in Euros,
  • reference currency (in which the transaction is performed),
  • rounding difference.
This method for storing data is used to facilitate all the types of forthcoming processes.

Your application manages Euros only

Your application is configured to run after February 28, 2002. The display in Francs is given for information only: your data files can only store values expressed in Euros.
Related Examples:
Euro calculator Unit examples (WINDEV Mobile): Euro calculator
[ + ] Handling the European currencies in relation to the Euro. This example is used to:
- Convert an amount into Euros
- Convert an amount from Euros into another national currerncy
- Perform operations on currency values
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment