Focal Point
Page-Break in PDF

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

January 21, 2008, 03:34 AM
focuzsambit
Page-Break in PDF
I want the column headings repetative, based on the by field in format PDF.
When i do it with page-break, its actually coming in different pages.
But i need it all in a single page.
Do ys have any work-around ??
 
TABLE FILE CAR
SUM
     DEALER_COST
     RETAIL_COST
BY COUNTRY AS ''
BY CAR
ON COUNTRY PAGE-BREAK
ON TABLE SET PAGE-NUM OFF
ON TABLE SUMMARIZE AS 'TOTAL'
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
END


tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
January 21, 2008, 09:09 AM
GinnyJakes
Then take the page-break off of your report.

What you've got in your code tells WebFOCUS to start a new page every time COUNTRY changes.

If you want it all on one page, why do you want the column headings to repeat? You could probably do that with a subhead.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
January 21, 2008, 11:33 AM
Darin Lee
Ginny's idea is probably the only way to get exactly what you want. Print all of your columns using
AS ''
then use
ON sortfield SUBHEAD
"HEADING1 HEADING2"

You'll probably have to play around with spot markers and such to get the placement correct and turn on bold, underline, etc. in the stylesheet for TYPE=SUBHEAD


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat