Hello,
we have a report which load dynamically string data in a databand. When the string contains special char like '<' then the report stop rendering and errors #2332 and #1090 shows up. I am thinking to replace special char on my sql query with < but I'm not sure if it's the easy solution. Anyone who has the same issue? Is there another better solution? Thank you in advance.
Special character < replace in databand
-
- Posts: 13
- Joined: Thu Mar 31, 2016 10:47 am
Re: Special character < replace in databand
Hello,
Can you specify which version of the Reports.PHP you are use? And which version of report engine you are use: JS or Flash?
Thank you.
Can you specify which version of the Reports.PHP you are use? And which version of report engine you are use: JS or Flash?
Thank you.
-
- Posts: 13
- Joined: Thu Mar 31, 2016 10:47 am
Re: Special character < replace in databand
Yes, of course. Sorry I didn't mention that information in my initial post: we are using StimulsoftReports.Fx_PHP_2014.1 with the Flash report engine. Thank you.
Re: Special character < replace in databand
Hello,
In the last version in our adapters is changing these symbols on the server side:
$value = str_replace("&", "&", $value);
$value = str_replace("<", "<", $value);
$value = str_replace(">", ">", $value);
This is a correct way, due to the data is send as XML file. Please check the last version in which this issue is solved.
Thank you.
In the last version in our adapters is changing these symbols on the server side:
$value = str_replace("&", "&", $value);
$value = str_replace("<", "<", $value);
$value = str_replace(">", ">", $value);
This is a correct way, due to the data is send as XML file. Please check the last version in which this issue is solved.
Thank you.
-
- Posts: 13
- Joined: Thu Mar 31, 2016 10:47 am
Re: Special character < replace in databand
Thank you for your clear answer. Sure, I will have a look at the lastest version.
Re: Special character < replace in databand
Hello,
Ok.
Let us know if you need any additional help.
Thank you.
Ok.
Let us know if you need any additional help.
Thank you.