FR3.16 - Error using report variables.
In FR3.11 I was able to use in a memotext:
Requested By: <B>[UserName]</B>
Where [UserName] is a report variable.
Now, after upgarding to 3.16, I get an error:
...Error in expression "MIKEH": ';' expected
Thanks,
Mike
Requested By: <B>[UserName]</B>
Where [UserName] is a report variable.
Now, after upgarding to 3.16, I get an error:
...Error in expression "MIKEH": ';' expected
Thanks,
Mike
Comments
Somewhere between 3.11 and 3.16 one must now use double qoutes " " around the value when setting a variable (if using C++ script in the report).
E.g. Used to use in C++ Builder:
frxReport1->Variables->Variables["UserName"] = QuotedStr(sValue);
Now must use:
frxReport1->Variables->Variables["UserName"] = AnsiQuotedStr(sValue, '"');