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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Displaying BY column value in all pages

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Displaying BY column value in all pages
 Login/Join
 
Member
posted
Hi,
Am creating matrix report(PDF) with single BY and ACROSS columns. Here, the BY column is displaying value only in the 1st page when the report goes to multiple pages. Is there any way to display the BY column values at all pages of the report

below is the sample code i used..


SET NODATA = ''
SET BYDISPLAY = ON

TABLE FILE CAR
SUM SALES AS ''
BY COUNTRY AS ''
ACROSS CAR AS ''
WHERE SALES NE 0;
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE COLUMN-TOTAL AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
TYPE=REPORT,
GRAPHCOLOR='GREEN',
$
TYPE=REPORT,
FONT='ARIAL',
SIZE=9,
$
TYPE=DATA,
COLUMN=N1,
BORDER-RIGHT=LIGHT,
FONT='ARIAL',
SIZE=9,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
JUSTIFY=RIGHT,
$
TYPE=TITLE,
COLUMN=N1,
BORDER-RIGHT=LIGHT,
FONT='ARIAL',
SIZE=9,
$
TYPE=TITLE,
ACROSSCOLUMN=N1,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
$
TYPE=ACROSSVALUE,
ACROSS=1,
BACKCOLOR='WHITE',
WRAP=ON,
$
TYPE=ACROSSVALUE,
ACROSS=1,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
BACKCOLOR='SILVER',
JUSTIFY=RIGHT,
$
TYPE=GRANDTOTAL,
COLUMN=COUNTRY,
BORDER-TOP=OFF,
BORDER-BOTTOM=OFF,
BORDER-LEFT=OFF,
BORDER-RIGHT=LIGHT,
BACKCOLOR='WHITE',
JUSTIFY=RIGHT,
$
TYPE=GRANDTOTAL,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
BACKCOLOR='SILVER',
JUSTIFY=RIGHT,
$
TYPE=REPORT,
OBJECT=MENU,
COLOR='WHITE',
HOVER-COLOR=RGB(66 70 73),
BACKCOLOR=RGB(102 102 102),
HOVER-BACKCOLOR=RGB(218 225 232),
BORDER-COLOR='WHITE',
$
TYPE=REPORT,
OBJECT=STATUS-AREA,
COLOR='WHITE',
BACKCOLOR=RGB(102 102 102),
$
TYPE=REPORT,
OBJECT=CURRENT-ROW,
HOVER-BACKCOLOR=RGB(218 225 232),
BACKCOLOR=RGB(200 200 200),
$
TYPE=REPORT,
OBJECT=CALC-AREA,
COLOR='WHITE',
BACKCOLOR=RGB(102 102 102),
$
TYPE=REPORT,
COLUMN=N2,
FONT='ARIAL',
SIZE=9,
SQUEEZE=1.055556,
$
TYPE=REPORT,
ACROSSCOLUMN=N1,
SQUEEZE=0.555556,
$
ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.x
Windows, All Outputs
 
Posts: 19 | Registered: January 10, 2012Report This Post
Gold member
posted Hide Post
You have to limit the width of your report ...


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Member
posted Hide Post
Thanks MichaelBalle..

I just have given sample code for example.. In real, the number of across columns go more than 50.. So, when it goes to next pages the same BY column values needs to be printed in all the pages.. Is there any other idea to get it?

Thanks,
Mathan.S


WebFOCUS 7.x
Windows, All Outputs
 
Posts: 19 | Registered: January 10, 2012Report This Post
Platinum Member
posted Hide Post
Take a look at HEADPANEL attribute. It may give you a clue.


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
 
Posts: 165 | Registered: September 29, 2008Report This Post
Platinum Member
posted Hide Post
All you need is:-
ON TABLE SET BYPANEL ON
after the:-
ON TABLE SET PAGE-NUM NOLEAD
statement and should work fine.


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Report This Post
Member
posted Hide Post
Thanks All..

Finally "ON TABLE SET BYPANEL ON" or "SET BYPANEL = ON" re giving me expected result..

Thanks,
Mathan.S


WebFOCUS 7.x
Windows, All Outputs
 
Posts: 19 | Registered: January 10, 2012Report 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] Displaying BY column value in all pages

Copyright © 1996-2020 Information Builders