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.
Hi, i am hainvg a compound report in PDF which has two reports to be showed with in it.
As of now i am using SET COMPOUND = OPEN to display the reports one after the other, and i have a footing on both the reports "Pageof<+0>to display the page numbers on the report .But it is showing inncorrect page numbers, like if the complete report is of 3 pages is shows page numbers 1 of 2 2 of 3 and 2 of 1 Which is quite misleading in the PDF output especially.so if you can tell me where the issue it wud be grateful.Already existing posts on this in the forums didn't help much.Please suggest soon.
7.6.4 Unix & Windows Excel,HTML,PDF,PPT,AHTML
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008
Not unless you want to count the pages yourself for each report and adjust as necessary when you get to the second one. You'd probably have to do multiple passes.
because my fex contains the code to display the output in other formats as well if i use the layout painter it might disturb my existing code.Also can u send an example of this using the layout painter.Coz when i tried this i was not able to do so .thanks for your help
7.6.4 Unix & Windows Excel,HTML,PDF,PPT,AHTML
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008
Try this Saggy: Here's a freebee for you that counts the pages in a compound report for you, and for those of us who want to code the text rather then use the GUI...
-SET &TOTALPAGES = 1 ;
-SET &HoldCounter = 0 ;
-SET &COMPOUNDCNT = 0 ;
-REPEAT COMPOUNDRPT 2 TIMES ;
-SET &COMPOUNDCNT = &COMPOUNDCNT + 1 ;
-SET &HOLDorPCHOLD = IF &COMPOUNDCNT EQ 1 THEN 'HOLD' ELSE 'PCHOLD' ;
-SET &ReportTitle 'Net Asset Valuation Overview Report ' ;
-SET &PDF_HOLD = 'ON TABLE ' | &HOLDorPCHOLD | ' FORMAT PDF OPEN' ;
-TYPE *** DOING : &PDF_HOLD FOR THE TITLE PAGE
-INCLUDE REPORT01
-SET &PDF_HOLD = 'ON TABLE ' | &HOLDorPCHOLD | ' FORMAT PDF CLOSE' ;
-INCLUDE REPORT02 (last report)
-* DONE!
Within the REPORT1.FEX and REPORT2.FEX I use this line "&PDF_HOLD.EVAL" instead of a "ON TABLE PCHOLD [whatever]"
Let me know how it works out for you... Doug
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Hi Doug, thanks for the code,its giving the total number of pages correctly but in my report i need to display in the footing sm thing like [Current Page num] of [Total Pages] means if the compound report has 5 pages. The page 1 shld have footing Page 1 of 5.I am sending the same code again can u do the required modifications to show it up correctly.Because the second page of the report shows page 2 of 1 becuase the 2nd report is for 1 page only.
-SET &TOTALPAGES = 1 ; -SET &HoldCounter = 0 ; -SET &COMPOUNDCNT = 0 ; -REPEAT COMPOUNDRPT 2 TIMES ; -SET &COMPOUNDCNT = &COMPOUNDCNT + 1 ; -SET &HOLDorPCHOLD = IF &COMPOUNDCNT EQ 1 THEN 'PCHOLD' ELSE 'PCHOLD' ; -SET &ReportTitle = 'Net Asset Valuation Overview Report ' ; -SET &PDF_HOLD = 'ON TABLE ' | &HOLDorPCHOLD | ' FORMAT PDF OPEN' ; -TYPE *** DOING : &PDF_HOLD FOR THE TITLE PAGE TABLE FILE CAR PRINT CAR BY SALES FOOTING "&ReportTitle" "Pageof<+0>&PDF_HOLD.EVAL END -SET &PDF_HOLD = 'ON TABLE ' | &HOLDorPCHOLD | ' FORMAT PDF CLOSE' ; TABLE FILE CAR PRINT CAR BY SALES FOOTING "Pageof<+0>&PDF_HOLD.EVAL END -* DONE!
7.6.4 Unix & Windows Excel,HTML,PDF,PPT,AHTML
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008
some how not able to put the keywords tablastpage and tabpageno in the post.so the footing must be currpageno of totalpagenos for a 5 page report the first page shld be 1 of 5 second page shld be 2 of 5 and so on.
7.6.4 Unix & Windows Excel,HTML,PDF,PPT,AHTML
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008