Error with euro symbol Data Dictionnary variable

Hello
I have a Data Dictionnary Variable where I set the currency of the user's country.
I use the variable 'CountryCurrency' in a memo like :
Total Cost [CountryCurrency]

But at runtime, when the currency is Euro (symbol ??¬) I always have an error :
wrote:
An error occured during calculating...Undefined symbol "??¬"

Any Idea ?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:01PM
    use the Alt +keycode for the euro
    not all fonts support it so check the windoes character map for a particular font to get the correct code and see if it is available.
    ;)
  • edited 5:01PM
    Thank you for the idea but, in fact, I can't use the ALT+code because this dictionnary variable is the Regional Setting Currency from Windows sent by the program. So some times it is '??¬' sometimes '$' etc.
    My Delphi programm looks like :
           Dictionary.Variables['CountryCurrency'] := CurrencyString;
    
    Phil

Leave a Comment