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     Show Column Names on Next page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Show Column Names on Next page
 Login/Join
 
Silver Member
posted
I have tried different techniques for formating the report.. But No luck.
If you Execute the below CAR file. Column names should appear on Page # 3,5.
Real time: Data under ENGLAND can go to 20 pages. - Column Heading are not being displayed.

  
SET LINES = 14
DEFINE FILE CAR
SHEAD/I2 = IF COUNTRY NE 'W GERMANY' THEN 1 ELSE 2 ;
END
TABLE FILE CAR
PRINT
CAR AS ''
MODEL AS ''
SEATS AS ''
BY SHEAD AS '' NOPRINT
BY COUNTRY AS '' NOPRINT
ON TABLE HEADING CENTER
"	"
" Report Heading Section - <TABPAGENO "
ON SHEAD SUBHEAD PAGE-BREAK
""
ON COUNTRY SUBHEAD
"	"
"<COUNTRY"
"Car-Make<+10>Car-Model<+10> Car-Seats"
ON TABLE FOOTING CENTER
"Page <TABPAGENO"
"	"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT WP
END


Thanks
 
Posts: 36 | Location: Boston MA | Registered: October 12, 2006Report This Post
Expert
posted Hide Post
You are always going to have issues with the column headings when they are done with ON COUNTRY SUBHEAD.

This is because they will only be done on a change of COUNTRY.

My suggestion would be.

1. add ON COUNTRY PAGE-BREAK.

This will fix the problem if the number of records is small for each COUNTRY.

2. Work out when to break the page your self

More difficult, but should work for all situations.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Thanks Waz.

quote:
2. Work out when to break the page your self


Can you provide details on this...I want to implement this...

Thanks
WF 7.1.7 Winxp - HTML, EXCEL, WP.
 
Posts: 36 | Location: Boston MA | Registered: October 12, 2006Report This Post
Expert
posted Hide Post
What is the output format ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
WP - Output format
 
Posts: 36 | Location: Boston MA | Registered: October 12, 2006Report This Post
Silver Member
posted Hide Post
Does anybody have any suggestion on this...I would really appreciate if someone can though ideas.. Roll Eyes
 
Posts: 36 | Location: Boston MA | Registered: October 12, 2006Report This Post
Guru
posted Hide Post
How about move the titles up as page headings?
 APP APPENDPATH IBISAMP
SET LINES = 14
DEFINE FILE CAR
SHEAD/I2 = IF COUNTRY NE 'W GERMANY' THEN 1 ELSE 2 ;
END
TABLE FILE CAR
PRINT
CAR AS ''
MODEL AS ''
SEATS AS ''
BY SHEAD AS '' NOPRINT
BY COUNTRY AS '' NOPRINT
ON TABLE HEADING CENTER
"	"
" Report Heading Section - <TABPAGENO "
""
"Car-Make<+10>Car-Model<+10> Car-Seats"

ON SHEAD SUBHEAD PAGE-BREAK
""
ON COUNTRY SUBHEAD
"	"
"<COUNTRY"
ON TABLE FOOTING CENTER
"Page <TABPAGENO"
"	"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT WP
END
 


Developer Studio 7.6.11
AS400 - V5R4
HTML,PDF,XLS
 
Posts: 305 | Location: Winnipeg,MB | Registered: May 12, 2008Report This Post
Virtuoso
posted Hide Post
Or in a manner slightly different from Hua's suggestion: page break on country, put country name in the heading, and let WebFOCUS put the column headings on each page.

SET LINES = 14
-*
TABLE FILE CAR
PRINT
CAR AS 'Car-Make'
MODEL AS 'Car-Model'
SEATS AS 'Car-Seats'
BY COUNTRY PAGE-BREAK NOPRINT
ON TABLE HEADING CENTER
"Report Heading Section - <COUNTRY"
""
ON TABLE FOOTING CENTER
""
"Page <TABPAGENO"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE PCHOLD FORMAT WP
END

This message has been edited. Last edited by: Dan Satchell,


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report 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     Show Column Names on Next page

Copyright © 1996-2020 Information Builders