Focal Point
Is it possible to Put 4 Reports (Tables) into 1 Excel file?

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

June 22, 2006, 01:41 PM
BenC
Is it possible to Put 4 Reports (Tables) into 1 Excel file?
Hi,

I have created a .fex where I have 4 tables and I want to output the results as 1 single excel file instead of having to save them separately. Is this possible? If so, can someone post the syntax?
June 22, 2006, 01:53 PM
debbiej
If you're using OFFICE 2003 (XP), and version 5.3 or above, you can do "compound" reports.
At the end of the first report you do
ON TABLE PCHOLD FORMAT EXL2K OPEN

If you want all of the results on the same tab, you add
ON TABLE PCHOLD FORMAT EXL2K NOBREAK
to each subsequent report.

On the last report you do
ON TABLE PCHOLD FORMAT EXL2K CLOSE

If you want each report to show on it's own tab in the Excel file, just do the OPEN on the first report, the CLOSE on the last report and
ON TABLE PCHOLD FORMAT EXL2K
on each report in between.

Deb


WebFOCUS 7.6.11 on Win2003 Server
WebFOCUS 7.7.03 on Win2003 Server
Published, AdHoc, ReportCaster
Output in all variants of Excel
June 22, 2006, 01:54 PM
Jim_at_LM
TABLE FILE ..
ON TABLE HOLD AS HOLD1

:


ON TABLE HOLD AS HOLD4
END
-RUN
DYNAM CONCAT DD HOLD1 HOLD2 HOLD3 HOLD4
TABLE FILE HOLD1
:
ON TABLE HOLD AS ... FORMAT EXL2K


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
June 22, 2006, 02:45 PM
Mikel
WF Doc. Ref.:

Creating Excel Compound Reports:
http://documentation.informationbuilders.com/masterinde...f713crlang/dis12.htm

Regards,
Mikel


WebFOCUS 8.1.05, 8.2.01
June 22, 2006, 03:30 PM
BenC
Worked Great, thanks for the help everyone.