Dictionary variable with international characters

Hi!

Executing the following code:

FrReport1.Dictionary.Variables:= '?­'

or with another international character (like ?§ ou ??) at runtime, when the report is been prepared it raises the error "Undefined symbol". How i solve this problem? Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:37AM
    Try Adding extra apostrophes
    FrReport1.Dictionary.Variables:= ''''+'?­'+''''

    from docs
    (An extra pare of quotes in this example is necessary for assigning string constants).


    FastReport regards string values, assigned to variables from data dictionary, as expressions to be computed. If a variable is not used in the data dictionary it works as usual.

    One must remember that if you use variables from frVariables list or if you use them through OnGetValue event handler, they need not be put into the data dictionary.

    regards ;)

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.