Focal Point
complex compound pdf

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2487063416

December 15, 2011, 03:07 PM
FrankDutch
complex compound pdf
I have a compound PDF document that holds a header line with some basic information. A graph and the little table with a few lines all fitting on one page.
This all works perfect for one single set of data.
But the single set of data is a selection out of 32 groups of data so I need that one page for all 32 groups.
That sounds basic, but it is not easy I found out.
I made a list of the all the groupcodes (with some additional information and from that list I can click and create all the pages one by one.
Now I would like to create a composed PDF that holds both the above mentioned basic page and the 32 graph pages.

I tried to create a overall compound fex that cycles through all the 32 groups and creates the pages with a looping that says SET COMPOUND OPEN and at the beginning of the last page SET COMPOUND=CLOSE
But whatever I do, I only get one page of the 32
(always the first one)
Is there an other way that does work for this?

Help would be great




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

December 15, 2011, 04:33 PM
Waz
Possibly a co-ordinated compound report with MERGE=ON.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 15, 2011, 04:58 PM
FrankDutch
Waz

That should be one of the option, and I tried that already.
when I tried that the whole program either crashed, or I got 32 times the same graph on all pages.

the thing I was thinking of is now write all the 32 reports to disk as single pdf files
and then combining them, maybe without webfocus




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

December 15, 2011, 05:06 PM
Waz
Been there, done that, many times.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 27, 2011, 02:33 AM
Ram Prasad E
As Waz mentioned, you can try with MERGE=ON.
Or else you can use MERGE=OFF and use ON first-by-field PAGE-BREAK.
Also let us know how you are calling the graph component, as a image in TABLE FILE request or directly refering with GRAPH FILE.
You need to set correct value for GRMERGE method inorder to see expected result.

Post your code for better understanding.


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/