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 8:46PM
    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 8:46PM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.