[CLOSED] Can you put a compound report inside a compound report
i have several compound reports that have 3 graphs and a few tables inside each report. My output is PDF. i want to create a PDF that will take all of these reports and create one full PDF. I have tried several different things and all i seem to get is the first report generated and nothing else.
Is this even possible ? If so can someone provide me with an example ?
thanksThis message has been edited. Last edited by: jbanas6,
WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3 Windows XP SP 2/Windows 2003 Server MVS 7.3.3
March 31, 2011, 09:45 AM
Francis Mariani
The first Compound Report has a CLOSE Compound statement - that's why it ends there. I think you'll have to create a "super" Compound report that contains all the components.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 31, 2011, 03:06 PM
Waz
Another option that I have done is to use PDFBox to "Join" all the individual PDF reports together.
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 31, 2011, 04:25 PM
Waz
quote:
PDFCAT
I like all the options available. Seems a bit pricey.
Is there a freebie version ?
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 01, 2011, 02:13 AM
Dave
We've used PDFTK for years. ( not with WF but with the previous BI-tool ).
PDFTK is freeware an runnable via command line with various parameters.
G'luck
_____________________ WF: 8.0.0.9 > going 8.2.0.5
April 01, 2011, 01:32 PM
jbanas6
i should specify i have several coordinated compound reports like the one below
SET PAGE-NUM=OFF
COMPOUND LAYOUT PCHOLD FORMAT PDF
SECTION=S1, LAYOUT=ON, MERGE=ON, ORIENTATION=LANDSCAPE, $
PAGELAYOUT=1, $
COMPONENT=Sales, TYPE=REPORT, POSITION=(1 1), DIMENSION=(4 4), $
COMPONENT=Units, TYPE=REPORT, POSITION=(6.25 1), DIMENSION=(4 4), $
END
SET COMPONENT=Sales
TABLE FILE GGSALES
"Sales report for <REGION"
" "
SUM DOLLARS/F8M
BY REGION NOPRINT
BY ST
BY CITY
ON TABLE HOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, FONT=HELVETICA, COLOR=RED, SQUEEZE=ON, $
END
SET COMPONENT=Units
TABLE FILE GGSALES
"Number of unit sales per product for <REGION"
" "
SUM CNT.UNITS AS 'Number of units sold'
BY REGION NOPRINT
BY PRODUCT
ON TABLE HOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, FONT=HELVETICA, COLOR=BLUE, SQUEEZE=ON, $
END
COMPOUND END
WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3 Windows XP SP 2/Windows 2003 Server MVS 7.3.3
April 03, 2011, 06:13 PM
Waz
I think the only ways to concatenate multple compound report together, are:
1. Build a large all encompassing compound layout for all the bits.
2. Use an external concatenation tool like the ones specified above.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 04, 2011, 04:00 AM
Dave
jbanas6:
nice indeed.
But that only works if both report have the same first BY field.
What I ( for example ) need is:
TABLE FILE CAR
SUM SALES
BY COUNTRY
END
TABLE FILE CAR
SUM SALES
BY CAR
END
Simplified example to fit the CAR master. I my real world 'CAR' isn't a subset of 'COUNTRY'.
_____________________ WF: 8.0.0.9 > going 8.2.0.5
April 04, 2011, 07:17 AM
jbanas6
thanks everyone for your responses
WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3 Windows XP SP 2/Windows 2003 Server MVS 7.3.3
April 05, 2011, 04:31 PM
MAdams1
I get so excited when I can actually help someone else with a question on the forum.
Using the Document Composer of Developer Studio, click "Insert", then on "Add Existing Page Layout", choose your existing compound report to add.
I found that it only works if you use the GUI to do this.
WebFOCUS Server 8.1.05 Windows 2008 Server WebFOCUS AppStudio 8.1.05 Windows 7 Professional IE 11 and Chrome Version 43.0.2357.124 m. Mostly HTML, PDF, Excel, and AHTML