Focal Point
COMPOUND reporting in HTML format

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

December 26, 2006, 11:52 AM
Code Digger
COMPOUND reporting in HTML format
The report consists of summary and detail sections(HTML format), it is required to repeat this combination of summary and detail for various values of an input parameter. The Table requests (one for summary and the other for detail each one having its own stylesheet) are thus being placed in a loop, but by doing so the stylesheets are behaving strangely. The style sheet content of one section is being reflected on the other.(Though the data is coming fine). Is there any way of avoiding this?

The code is somewhat like this
-SET &V_CNT = 0;
-NEXTLOC
TABLE FILE Request printing for summary IN html FORMAT

TABLE FILE Request printing for detail in HTML format
-SET &V_CNT = &V_CNT+1 ;
-IF &V_CNT NE 5 GOTO NEXTLOC ;
January 02, 2007, 03:44 AM
Tony A
Using internal style sheets for each report will hit the problem of reuse of style names (.x1 etc.). Because each report may / will use the same style name for different cells you will have problems as you have seen.

To overcome this you should use external stylesheets and refer to them within your reports using the CLASS= syntax within the ON TABLE SET STYLE * section of your code.

T

Happy New Year ALL



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 03, 2007, 05:52 AM
kalyanswarna
Hi,

SAVE(ON TABLE HOLD FORMAT HTMTABLE AS REPORT1) those master and Detail Reports in HTMTABLE format and use the following code to see all the reports in One HTML Page.
-HTMLFORM BEGIN
!IBI.FIL.REPORT1;
!IBI.FIL.REPORT2;
-HTMLFORM END

Thanks,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------