PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Additional currency
  • Limits
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
..MemoryCurrency is used to find out and modify the currency used when handling a "Currency + Euro" control by programming.
Notes:
  • The currency value entered in a "Currency + Euro" edit control (or table column) is entered in the currency defined by ..DisplayCurrency.
  • If the display currency and the memory currency are not identical, the conversion is automatically performed when saving the associated record.
Example
// Changes the memory currency used by EDT_Edit1
EDT_Edit1..MemoryCurrency = eEUR   // Stored in Euros
EDT_Edit1 = 10   // Euro =>  Displays "65.60F"
EDT_Edit1..MemoryCurrency = eFRF    // Stored in Francs
EDT_Edit1 = 10   // Francs => displays "10.00F"
Syntax

Finding out the memory currency used Hide the details

<Currency used> = <Control name>..MemoryCurrency
<Currency used>: Integer constant
Currency currently used as memory currency.
ConstantCountryExchange rate
eEUREuro zone1
eFRFFrance6,55957
eITLItaly1936,27
eBEFBelgium40,3399
eLUFLuxembourg40,3399
eDEMGermany1,95583
eATSAustria13,7603
eESPSpain166,386
eIEPIreland0,787564
eNLGNetherlands2,20371
ePTEPortugal200,482
eGRDGreece340,750
eFIMFinland5,94573
Currencies not taking part in the Euro
eDKKDenmark0
eGBPGreat Britain0
eSEKSweden0
Free10
Free20
Free30
Free4
<Control name>: Character string (with or without quotes)
Name of the "Currency + Euro" control.

Modifying the memory currency used Hide the details

<Control name>..MemoryCurrency = <New currency>
<Control name>: Character string (with or without quotes)
Name of the "Currency + Euro" control.
<New currency>: Integer constant
New currency that will be used for the memory currency.
ConstantCountryExchange rate
eEUREuro zone1
eFRFFrance6,55957
eITLItaly1936,27
eBEFBelgium40,3399
eLUFLuxembourg40,3399
eDEMGermany1,95583
eATSAustria13,7603
eESPSpain166,386
eIEPIreland0,787564
eNLGNetherlands2,20371
ePTEPortugal200,482
eGRDGreece340,750
eFIMFinland5,94573
Currencies not taking part in the Euro
eDKKDenmark0
eGBPGreat Britain0
eSEKSweden0
Free10
Free20
Free30
Free4
Remarks

Additional currency

You also have the ability to define custom currencies: they allow you to choose an additional currency, created by programming with eInitCurrency. To choose one of these currencies, use the values from 16 to 19:
  • 16: Custom currency #1
  • 17: Custom currency #2
  • 18: Custom currency #3
  • 19: Custom currency #4

Limits

..MemoryCurrency applies when handling the following "Currency + Euro" controls by programming:
  • Reports and Queries calculated controls and item controls found in the reports.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment