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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
column headings
 Login/Join
 
Member
posted
I have a question on how to suppress column headings on the first page of a report. Using suggestions already in Focal Point has allowed me to format subheading but the column titles still appear above over everything on the first page.

DEFINE FILE ABC
BYHEAD1/I1 = 1;
COLTITLE/I1 = 2;
END
TABLE FILE ABC
PRINT &ACCOUNT
DEPT
AMOUNT
BY BYHEAD1 NOPRINT
BY COLTITLE NOPRINT
ON BYHEAD1 SUBHEAD
" &STORE <+0> <+0> &PERSON1"
ON COLTITLE SUBHEAD
"ACCOUNT<+0>DEPT<+0>AMOUNT"
. . .
ON TABLE SET STYLE *
. . .
TYPE=SUBHEAD,BY=BYHEAD1,HEADALIGN=BODY,SIZE=10,OBJECT=TEXT,ITEM=3,JUSTIFY=RIGHT,$
TYPE=SUBHEAD,BY=COLTITLE,HEADALIGN=BODY,JUSTIFY=LEFT,$
TYPE=SUBHEAD,BY=COLTITLE,HEADALIGN=BODY,ITEM=3,JUSTIFY=RIGHT,$

Thanks for any help.
 
Posts: 5 | Registered: May 11, 2006Report This Post
Virtuoso
posted Hide Post
If you do not want a column heading use as ' '

DEPT AS ' '
AMOUNT AS ' '


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
Maybe you can do this by use of the WHEN statement.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
look in the former FP "heading NOT on first page" of 18 apr 2006.

They suggest the use of WHEN in combination of the coloring heading WHITE.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Thanks but WHEN doesn't seem to work with column headings.
When I put ' ' by the print fields that does suppress the column headings but I want them on all other pages, just not on the first one.
I can suppress a page heading using
PRINT
. . .
COMPUTE HEADER/A30 = IF TABPAGENO EQ 1 THEN ' ' ELSE
'PAGE HEADING TABPAGENO NOPRINT
. . .
but I need the column headings suppressed on page1.
 
Posts: 5 | Registered: May 11, 2006Report This Post
Virtuoso
posted Hide Post
You could use a WHEN for a subhead using a counter and another variable - say FPAGE. If the counter GT 50 (however many rows will fit on page 1) then FPAGE=1, else 0. Sort by FPAGE and print subhead when FPAGE GT 0.
This may or may not work depending on other content of your report, but if it's just a list-type columnar report, this should work. Column titles have no relationship to Page numbers, so there isn't a way to turn off column titles on only one page. But items that relate to page heading, subheadings, etc. would work.


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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
I'm not sure what your intent is for the first page of your report. I assume it's something like a title page. Or maybe you're listing paramter values used to select data for the report. You might try producing that first page in a completely separate report (separate TABLE FILE), using '' as your column title(s). Produce the rest of the report with another TABLE FILE, and then compound them. If you don't know how to produce a compound report, search focal point on that subject. You'll get plenty of help.


dwf
 
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005Report This Post
Member
posted Hide Post
thanks to everyone for their suggestions.
I couldn't get the counter for page headings to work but using dwf's suggestion for compound reports I was able to create a table containing only header information, ran that report and then the next report containing the actual data.
 
Posts: 5 | Registered: May 11, 2006Report This Post
Guru
posted Hide Post
Are you wanting a onetime HEADING to appear on the report instead of a Page HEADING?

Use:

ON TABLE PAGE-BREAK AND SUBHEAD


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Virtuoso
posted Hide Post
How about the use of a report heading.
Put the info you need into that heading (a free format report) and after the report heading a page-break.

I never used this in WF but did something similar in an Access Report.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
We use Frank's suggestion frequently - kind of gives you a "Cover Page" with relevant information, before you get into the actual content of the report.

Syntax is
ON TABLE PAGE-BREAK AND SUBHEAD
"heading"

As with all headings, the lines can contain variables and fields, spot markers, etc. which can be positioned and styled with the stylesheets.

Just saves having to run two reports--


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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders