Focal Point
[CLOSED] Page Break data in New EXCEL Sheet

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

March 16, 2007, 03:51 AM
Code Digger
[CLOSED] Page Break data in New EXCEL Sheet
Hi,

I have an excel report with say sorting on field COUNTRY. I also have Page Break on COUNTRY field. My requirement is that once Country changes from US to ENGLAND, ENGLAND's data should be displayed in a new excel worksheet. Similarly from ENGLAND to FRANCE, France's data should come in new sheet. So on and so forth.

Hence how to create and populate data in new xls worksheets as the sort field changes its value?

Regards,
CD

This message has been edited. Last edited by: Kerry,
March 16, 2007, 06:12 AM
Danny-SRL
Digger,

Try this:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR BY BODYTYPE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
-* This creates the multiple worksheets
ON TABLE SET COMPOUND 'BYTOC 1'
-*
ON TABLE SET HTMLCSS ON
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

March 16, 2007, 09:26 AM
Leah
I believe the only thing that creates multiple sheets in excel is creating a compound report. Unless there is some fancy styling that will allow it. I learn something new about FOCUS/WebFOCUS almost every day any more.


Leah
August 29, 2011, 11:54 AM
Zac
Looking at this 4 years later and it still works for Excel 2000 but:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR BY BODYTYPE
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL07
-* This creates the multiple worksheets
ON TABLE SET COMPOUND 'BYTOC 1'
-*
ON TABLE SET HTMLCSS ON
END

leaves Excel to complain that "Repaired Records: Worksheet properties from /workbook.xml part (Workbook)". Is there a new way to do this with Excel 2007?

WF 7.7.02/AIX/Websphere running on Win2008


WebFOCUS & MRE 7.6.5 - AIX Server & Windows 2K3 Client on WebSphere 6 - Output PDF, Excel and HTML