Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOCNEXTPAGE not working?
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] FOCNEXTPAGE not working?
 Login/Join
 
Platinum Member
posted
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
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 127 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1569 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
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
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 127 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1569 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Jack,
That was it! Thanks!


WebFOCUS 8.2.03
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 127 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] FOCNEXTPAGE not working?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.