I've got a compound PDF report where I generate some reports and include others. I use FOCFIRSTPAGE to set the page number for the first report that shows a page number (SET FOCFIRSTPAGE = 3) and that works fine, but then I have SET FOCFIRSTPAGE = &FOCNEXTPAGE before each of the includes for the next reports and it sets the page number to 10 every time. Any ideas what is going on?
Thanks.This message has been edited. Last edited by: DWaybright,
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
July 10, 2018, 12:44 PM
FP Mod Chuck
Deb
Please post your code.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
July 10, 2018, 01:02 PM
DWaybright
It is a large compound report (about 450 lines!). Here's the piece where the page numbers are starting to be set including the in-line report before the includes: TABLE FILE SQLOUT PRINT Contract_Start_Date Earned/D12.2CM Incurred/D12.2CM Loss_Ratio/D8.2% BY Group_Number NOPRINT ON TABLE SUBHEAD "Loss Experience" ON TABLE SET CACHELINES 100 ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET SQUEEZE ON ON TABLE SET EMPTYREPORT ON ON TABLE SET HTMLCSS ON ON TABLE SET HTMLENCODE OFF ON TABLE SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENBlue_Light1.sty,$ TYPE=DATA, COLUMN=N2, JUSTIFY=CENTER, $ TYPE=DATA, COLUMN=N3, JUSTIFY=CENTER, $ TYPE=DATA, COLUMN=N1, JUSTIFY=LEFT, $ TYPE=TITLE, COLUMN=N2, JUSTIFY=CENTER, $ TYPE=TITLE, COLUMN=N3, JUSTIFY=CENTER, $ TYPE=TITLE, COLUMN=N1, JUSTIFY=LEFT, $ TYPE=TABHEADING, LINE=1, JUSTIFY=LEFT, $ TYPE=TABHEADING, LINE=1, ITEM=1, OBJECT=TEXT, SIZE=12, STYLE=BOLD+ITALIC, $ TYPE=GRANDTOTAL, JUSTIFY=CENTER, $ TYPE=REPORT, OBJECT=STATUS-AREA, PAGE-LOCATION=OFF, $ ENDSTYLE END -*- -*included reports -*- -RUN SET COMPONENT='report03' SET FOCFIRSTPAGE = 3 -INCLUDE profile_of_cmp_in_force_filtered_mp.fex SET COMPONENT='report04' SET FOCFIRSTPAGE = &FOCNEXTPAGE -INCLUDE cmp_exp_acc_yrs_over_100_multi.fex SET COMPONENT='report05' SET FOCFIRSTPAGE = &FOCNEXTPAGE -INCLUDE cmp_claim_dollars_by_cause.fex
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs
July 10, 2018, 01:47 PM
FP Mod Chuck
Deb
I just needed what you gave me.. I will try to get it working against the car file... I will post my results probably tomorrow
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
July 11, 2018, 10:22 AM
j.gross
Unless there's an intervening -RUN, I would expect all the references to &FOCNEXTPAGE to return the identical value (since none of the report code pushed to FOCSTACK has yet been executed when each in the series of SET FOCFIRSTPAGE = &FOCNEXTPAGE lines is scanned).
- Jack Gross WF through 8.1.05
July 11, 2018, 04:06 PM
DWaybright
Jack, That was it! Thanks!
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs