Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SUBHEAD IN PDF REPORT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] SUBHEAD IN PDF REPORT
 Login/Join
 
Silver Member
posted
Hi,
Is there a way to repeat the contents in subheading when data is displayed in more than one page like the way the heading gets repeated in the report.
Thanks

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


WF 7.7.05 on Linux
HTML, PDF, EXCEL
 
Posts: 39 | Registered: July 21, 2009Report This Post
Expert
posted Hide Post
TYPE={REPORT|headfoot [BY=sortcolumn]}, HEADPANEL={ON|OFF}, $


Documentation:

Creating Reports With WebFOCUS Language > Using Headings, Footings, Titles, and Labels > Support for Repeated Headings and Footings on Panels in PDF Report Output

Creating Reports With Report Painter > Adding a Page Heading or Footing > Repeat Headings and Footings Per Panel in PDF Report Output


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Hi Francis,
according to your code it works when there are columns that do not fit in a single page but in my case i have 3 columns with overflowing data (200 records for each sort field) and i want to repeat my SORT SUBHEAD when ever the data is more than one page.


WF 7.7.05 on Linux
HTML, PDF, EXCEL
 
Posts: 39 | Registered: July 21, 2009Report This Post
Expert
posted Hide Post
It's not my code. The HEADPANEL stylesheet setting is supposed to take care of "Repeat Headings and Footings Per Panel in PDF Report Output"...

Maybe it works in conjunction with the SET PANEL setting...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
I think HEADPANEL stylesheet setting works when you have columns overflowing to multiple pages but not the data.


WF 7.7.05 on Linux
HTML, PDF, EXCEL
 
Posts: 39 | Registered: July 21, 2009Report This Post
Expert
posted Hide Post
Using this code, please explain what you're expecting to happen:

-* File fpwfdevloper1.fex

TABLE FILE CAR
PRINT
SEG.BODYTYPE
SEG.LENGTH

BY COUNTRY

HEADING
"THIS IS A CAR REPORT"
"PAGE:<TABPAGENO"
" "

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
TYPE=REPORT, HEADPANEL=ON, $

ENDSTYLE
END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Please see this post;
http://forums.informationbuild...321068081#5321068081

Code taken from that post, I think this is what you are trying to accomplish Thanks to TexasStingray

TABLE FILE GGSALES
HEADING
"Page <TABPAGENO"
SUM
	DOLLARS
	BUDDOLLARS
AND COMPUTE ROWCNT/I9 = LAST ROWCNT + 1; NOPRINT

BY REGION NOPRINT
BY ST
BY CITY
BY STCD
BY PRODUCT
BY TOTAL ROWCNT NOPRINT

ON ROWCNT SUBHEAD
"Region: <REGION "
WHEN REGION NE LAST REGION OR TABPAGENO NE LAST TABPAGENO;

WHERE READLIMIT EQ 1000
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
     PAGESIZE='Letter',
     LEFTMARGIN=0.250000,
     RIGHTMARGIN=0.250000,
     TOPMARGIN=0.250000,
     BOTTOMMARGIN=0.250000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=ON,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=SUBHEAD, BY=6, BACKCOLOR=YELLOW,$
ENDSTYLE
END



WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Silver Member
posted Hide Post
Hi MAdams1,
Thanks for the reply. I was looking for the same functionality.
thanks once again


WF 7.7.05 on Linux
HTML, PDF, EXCEL
 
Posts: 39 | Registered: July 21, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SUBHEAD IN PDF REPORT

Copyright © 1996-2020 Information Builders