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     Multiple pdf reports on one page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multiple pdf reports on one page
 Login/Join
 
Member
posted
Hello, Smiler

I will appreciate some suggestions on how to write multiple pdf reports on one page by a common sort break.

eg.
Report-1 Sum DealarCost
by Country Page-break
Heading
Country <Country

Report-2 Sum RetailCost
By Country Page-break
Heading
Country <Country

Report-3 Print Car Model
By Country Page-break
Heading
Country <Country

I can create multiple reports using Compound Reporting, but how can I make a common sort-break for all these reports, so that each Country is on its own page with all three reports for that country. Is there any technique out there? I am using WF523 on Win2K.
 
Posts: 20 | Location: Michigan | Registered: November 23, 2004Report This Post
<chris>
posted
I've done something like that, but it uses involved Dialgue Manager. Essentailly it would execute you routine x number of time based on a loop. Logic needs to be programmed in to OPEN and CLOSE the Compound Report, but it can be done.

-STARTLOOP

-*Get a value

-*Compound Report with one value and OPEN/CLOSE logic.

-*Test value based on number of values (can use FOCLIST)

-GOTO STARTLOOP
 
Report This Post
Member
posted Hide Post
Chris,
Thank you for your suggestion. I was also thinking on the same lines.

I will give it shot and see.
Thank you
 
Posts: 20 | Location: Michigan | Registered: November 23, 2004Report This Post
Virtuoso
posted Hide Post
Any one have a good example of this...I always get looped on loops. Confused


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
This is one way to do it.
Regards,
Mika

TABLE FILE CAR
BY COUNTRY
ON TABLE SAVE
END
-RUN
-SET &XCNT = &LINES ;

-REPEAT XLOOP FOR &XIND FROM 1 TO &XCNT
-READ SAVE &XCOUNTRY.A10

-SET &XOPEN = IF &XIND EQ 1 THEN 'OPEN NOBREAK' ELSE 'NOBREAK' ;
TABLE FILE CAR
SUM SALES
BY CAR
WHERE COUNTRY EQ '&XCOUNTRY' ;
HEADING
"Sales for &XCOUNTRY"
ON TABLE PCHOLD FORMAT PDF &XOPEN
END

TABLE FILE CAR
PRINT DEALER_COST RETAIL_COST
BY CAR
BY MODEL
WHERE COUNTRY EQ '&XCOUNTRY' ;
HEADING
"Costs for &XCOUNTRY"
ON TABLE PCHOLD FORMAT PDF NOBREAK
END

-SET &XCLOSE = IF &XIND EQ &XCNT THEN 'CLOSE' ELSE '' ;
TABLE FILE CAR
PRINT BODYTYPE SEATS
BY CAR
BY MODEL
WHERE COUNTRY EQ '&XCOUNTRY' ;
HEADING
"Models for &XCOUNTRY"
ON TABLE PCHOLD FORMAT PDF &XCLOSE
END
-XLOOP


WebFOCUS 7.6.x
PMF 5.2.x
 
Posts: 58 | Location: Sydney, Australia | Registered: April 22, 2005Report 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     Multiple pdf reports on one page

Copyright © 1996-2020 Information Builders