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.
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
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