|
|
|
|
|
- Additional currency
- Miscellaneous
- Limitations
DisplayCurrency (Property) In french: DeviseAffichage
The DisplayCurrency property gets and sets the currency used when entering or displaying values in a "Currency + Euro" control. Remarks: - The displayed currency can differ from the currency returned to the program or saved in the corresponding HFSQL data file. The currency used to save the value is defined by the MemoryCurrency property.
- If the displayed currency differs from the stored currency, the conversion is automatically performed during the backup.
Syntax
Finding out the display currency used Hide the details
<Currency used> = <Control used>.DisplayCurrency
<Currency used>: Integer constant Currency currently used as display currency.
| | | Constant | Country | Exchange rate |
---|
eEUR | Euro zone | 1 | eFRF | France | 6,55957 | eITL | Italy | 1936,27 | eBEF | Belgium | 40,3399 | eLUF | Luxembourg | 40,3399 | eDEM | Germany | 1,95583 | eATS | Austria | 13,7603 | eESP | Spain | 166,386 | eIEP | Ireland | 0,787564 | eNLG | Netherlands | 2,20371 | ePTE | Portugal | 200,482 | eGRD | Greece | 340,750 | eFIM | Finland | 5,94573 | Currencies not taking part in the Euro | | | | eDKK | Denmark | 0 | eGBP | Great Britain | 0 | eSEK | Sweden | 0 | | Free1 | 0 | | Free2 | 0 | | Free3 | 0 | | Free4 | |
<Control used>: Control name Name of the "Currency + Euro" control.
Modifying the display currency used Hide the details
<Control used>.DisplayCurrency = <New currency>
<Control used>: Control name Name of the "Currency + Euro" control. <New currency>: Integer constant New currency that will be used as display currency.
| | | Constant | Country | Exchange rate |
---|
eEUR | Euro zone | 1 | eFRF | France | 6,55957 | eITL | Italy | 1936,27 | eBEF | Belgium | 40,3399 | eLUF | Luxembourg | 40,3399 | eDEM | Germany | 1,95583 | eATS | Austria | 13,7603 | eESP | Spain | 166,386 | eIEP | Ireland | 0,787564 | eNLG | Netherlands | 2,20371 | ePTE | Portugal | 200,482 | eGRD | Greece | 340,750 | eFIM | Finland | 5,94573 | Currencies not taking part in the Euro | | | | eDKK | Denmark | 0 | eGBP | Great Britain | 0 | eSEK | Sweden | 0 | | Free1 | 0 | | Free2 | 0 | | Free3 | 0 | | 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
Miscellaneous When modifying the display currency of a control, the value found in the control is automatically converted. Limitations The DisplayCurrency property is applied: to display a value in a "Currency + Euro" calculated control (in a report). to display and enter a value in a "Currency + Euro" Edit control (in a window). to display and enter a value in a column of a "Currency + Euro" Table control (in a window).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|