Page 1 of 1

Issue displaying HTML report on tablet (CSentry 8.0)

Posted: March 9th, 2024, 8:31 am
by Ara
Hello,
I'm having some tablets failed to view report in HTML format. (CSentry 8.0 ). It is like the issue start with the Apostrophe ' in between the data need to be viewed. " Example if in the Data holds word like " can 't or He's " then the display failed to load all the records.
How can I handle this ?
I have attached here the Function I use and the HTML codes for displaying report. Thank you in advance

Re: Issue displaying HTML report on tablet (CSentry 8.0)

Posted: March 11th, 2024, 8:40 am
by Gregory Martin
You can use the encode function to convert text to HTML: https://www.csprousers.org/help/CSPro/e ... ction.html

More generally, you should take a look at the templated reporting feature: https://www.csprousers.org/help/CSPro/t ... ports.html

This would simplify your work greatly, as you wouldn't have to parse your template for "//HERE//", and you could move some of your calculation logic into the report itself.