Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report 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: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report 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: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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, 2005Report This Post
Platinum Member
posted Hide Post
Jack,
That was it! Thanks!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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

Copyright © 1996-2020 Information Builders