Focal Point
[SOLVED] STYLEMODE PAGED and INFOASSIST

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4147086626

November 29, 2012, 09:45 AM
Danny-SRL
[SOLVED] STYLEMODE PAGED and INFOASSIST
Does anybody know how can one use STYLEMODE PAGED in InfoAssist?

This message has been edited. Last edited by: Kerry,


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

December 01, 2012, 11:27 AM
Danny-SRL
A bit more to this question.

A customer wants to use InfoAssist to produce reports in HTML and print them. The reports have PAGE-BREAKs. Hence the desire to have STYLEMODE = PAGED. But this is not an option in InfoAssist (unless I'm mistaken, in which case, somebody tell me where to find it).

So I tried to add a DEFINE
PBREAK/A40='<P STYLE="page-break-after:always">';

and in the FOOTING
"<PBREAK> "


However, InfoAssist inserts the following in the code
ON TABLE SET HTMLENCODE ON

an undocumented feature, and instead of inserting the HTML page-break, displays the contents of the DEFINEd field.

In the meantime, a solution was found...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

December 06, 2012, 10:32 AM
Kerry
Hi Daniel,

Would you like to share your solution with all?

Thanks,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
December 06, 2012, 12:54 PM
Danny-SRL
Sure:

LET
HTMLENCODE=STYLEMODE PAGED ON TABLE SET SCREEN
END

This being said, HTMLENCODE should be:
1. documented
2. setable within InfoAssist


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF