Print special character on report
Leo Bidi
Montevideo, Uruguay
Hi, I have a report that needs to print some special name like SMITH'S
I have a variable defined in the report to print this field and had assigned this way
cName its obtained from the db
Thanks
I have a variable defined in the report to print this field and had assigned this way
Report.Variables['Name'] := '''' + cName + ''''
and get error. How can I define my variable to use this name ??cName its obtained from the db
Thanks
Comments
I've change my single quote to double by doing but still gets the same error with the same code I mentioned.
Maybe I need to change also that code , where I assign the reports's variable ?
Thats why I post the code I was using in delphi
Will try anyway.
NOT a double-quote character, which is what you thought you saw.
This is because variables are treated like tiny scripts.
Now I undestand what you and gpi mean. I was replacing the single quote by a double quote .
When I change to 2 single quotes, works perfect.
Excuse me gpi if I dont understand you before.
Thanks both a lot.