Issue displaying HTML report on tablet (CSentry 8.0)

Discussions about creating CAPI applications to run on Android devices
Post Reply
Ara
Posts: 1
Joined: March 9th, 2024, 6:47 am

Issue displaying HTML report on tablet (CSentry 8.0)

Post 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
Attachments
FUNCTION TO SHOW A LIST OF HOUSEHOLDS LISTED .pdf
(89.74 KiB) Downloaded 22 times
HTML Report side.pdf
(85.75 KiB) Downloaded 18 times
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

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

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