Focal Point
Integrating different reports into a single report

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

November 21, 2005, 10:14 PM
Dharma
Integrating different reports into a single report
I have three different fex files which I want to integrate into one report. I don't think I can use compound reports as this would append the reports one below the other. I want two of the reports to appear side by side and the third one below it, all on one page. Can any one please help me out?


dharma
------------------
WF v 7.1.1
OS - Win XP
Output: PDF, EXL2K
November 22, 2005, 03:46 AM
Tony A
Dharma,

It all depends on what is the target application for your output and the format of the individual reports.

For instance, if the target is a web browser and HTML then you could use frames and the format of your reports isn't an issue, however if the target is PDF then you might have a problem.



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 22, 2005, 07:40 AM
<RickW>
If it's a PDF;

A. compound report

B. free form report

C. Both A and B

That's it. Can't think of any other way by what you're asking.
November 22, 2005, 08:25 AM
Tony A
Rick,

A side by side report in PDF compound? Can't think how you'd achieve that unless you managed to use FML to achieve your reports in adjacent cells with a gap between them. Hmmmm .... might have a go at that one.



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 22, 2005, 09:30 AM
Motiejus
Maybe BID can be used here?

(which (the BID) is generalization of frames and other HTML, javascript, etc. features) Smiler


Motiejus Jankevicius
November 22, 2005, 09:51 AM
susannah
sure Dharma, easy.
Put all your fexes in 1 fex(so they execute in the same agent), making 3 separate tables.
TABLE FILE CAR
...do stuff
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
END
TABLE FILE EMPLOYEE
..do stuff
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
END
TABLE FILE somethingelse
..do stuff
ON TABLE HOLD AS MYTAB3 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD VALIGN="TOP">
!IBI.FIL.MYTAB1;
</TD>
<TD VALIGN="TOP">
!IBI.FIL.MYTAB2;
</TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="CENTER">
!IBI.FIL.MYTAB3;
</TD></TR></TABLE>
-HTMLFORM END
..and there you go, easy. As you didn't mention any particular format, i'll assume you're in html; And, fyi, this layout is emailable by reportcaseter, which is pretty cool.

This message has been edited. Last edited by: susannah,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
November 22, 2005, 10:06 AM
mgrackin
I'm surprised no one has mentioned COORDINATED PDF documents, a new feature in WF 710. If you are looking to create a PDF document with multiple reports then the Co-ordinated PDF Layout Tool in DevStudio allows you to do this. It is sort of like using HTML FRAMES for PDF documents.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
November 22, 2005, 10:14 AM
<RickW>
quote:
Originally posted by Tony A:
Rick,

A side by side report in PDF compound? Can't think how you'd achieve that unless you managed to use FML to achieve your reports in adjacent cells with a gap between them. Hmmmm .... might have a go at that one.


True - for a side-by-side report you'd have to combine the data from the two programs and either use a free form report or format it so it "looks" like two separate reports.

Maybe the 7.1.1 PDF painter does this???

The only other way I can think of would be to code a script within Adobe Acrobat (not the reader), but I assumed the question was relating to just using WF.
November 22, 2005, 10:17 AM
<RickW>
Doh - didn't see Mickey's answer when I posted.

I wish implementing new product versions were as easy as it should be.
November 22, 2005, 11:40 AM
Tony A
Looking at the poll at the top ofthe forum, it would appear that there are not many prod installations of 7.x yet.

My client is still holding off due to certain "features" in various components plus the recommendation to await the first patch (and now the second for DS).



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 22, 2005, 04:18 PM
Carol Dobson
This is a cool technique (yet limited) to get a very small PDF report to print a page side by side. Have not pushed it to the limites, but thought this was worth sharing!

SET ONLINE-FMT = PDF
TABLE FILE EMPLOYEE
PRINT LAST_NAME CURR_SAL
BY DEPARTMENT PAGE-BREAK
HEADING
"PAGE <TABPAGENO"
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE=LETTER, PAGEMATRIX=(2 1), ELEMENT=(3.5 8.0), MATRIXORDER=VERTICAL,$
TYPE=REPORT, SIZE=8,$
TYPE=HEADING, STYLE=UNDERLINE, COLOR=BLACK, LINE=1,$
ENDSTYLE
END

Happy Thanksgiving everyone!
Carol



WebFOCUS 7.6.6/TomCat/Win2k3
November 22, 2005, 04:33 PM
Prarie
That is cool.

Happy Thanksgiving to you. Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
hi all, thanks for the responses. sorry for not mentioning the output format. its PDF.
actually one out of 3 reports is a graph. so, we have displayed the 2 tabular reports one below the other by using compound reporting and graph is saved as GIF image and we can display the image anywhere. so we have placed the graph image adjacent to the first table. now first table and graph are side by side and 2nd table is below.


dharma
------------------
WF v 7.1.1
OS - Win XP
Output: PDF, EXL2K