ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Additional currency
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MemoryCurrency property gets and sets the currency used when manipulating a "Currency + Euro" control programmatically.
Remarks:
  • The currency value entered in a "Currency + Euro" Edit control (or table column) is entered in the currency defined by the DisplayCurrency property.
  • If the display currency and the memory currency are not identical, the conversion is automatically performed when saving the associated record.
Example
WindowsAndroidJava
// Change la devise mémorisée par SAI_Saisie1
SAI_Saisie1.DeviseMémoire = eEUR	// Mémorisée en Euro
SAI_Saisie1 = 10	// Euro => affiche "65.60 F"
SAI_Saisie1.DeviseMémoire = eFRF	// Mémorisée en Francs
SAI_Saisie1 = 10	// Francs => affiche "10.00 F"
Syntax

Finding out the memory currency used Hide the details

<Currency used> = <Control used>.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 used>: Control name
Name of the "Currency + Euro" control.

Modifying the memory currency used Hide the details

<Control used>.MemoryCurrency = <New currency>
<Control used>: Control name
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

User currencies can be defined: they allow you to choose an additional currency, created by programming the eInitCurrency function.. To choose one of these currencies, use the values from 16 to 19:
  • 16: Custom currency number 1
  • 17: Personalized currency number 2
  • 18: Personalized currency number 3
  • 19: Personalized currency number 4

Limitations

The MemoryCurrency property applies when manipulating the following "Currency + Euro" controls programmantically:
  • WINDEVWEBDEV - Server codeReports and QueriesAndroidiPhone/iPadMac Catalyst calculated controls and item controls found in the reports.
  • WINDEVAndroid "Currency + Euro" edit controls.
  • WINDEV columns found in the "Currency + Euro" Table controls.
  • WEBDEV - Server code "Currency + Euro" edit controls, formatted display controls, columns of Table controls and attributes of Looper controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help