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] 2 title rows

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] 2 title rows
 Login/Join
 
Gold member
posted
Is there a way to get 2 title rows on top of each other? I tried SUBHEAD, but it displays above the report header.

 
DEFINE FILE CAR
Error_Column/I3=IF SEATS EQ 2 THEN 1 
ELSE IF SEATS EQ 4 THEN 3
ELSE 5;
END
TABLE FILE CAR
PRINT 
     Error_Column
         CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.BODYTYPE
     CAR.BODY.SEATS
     CAR.SPECS.LENGTH
     CAR.WARANT.WARRANTY
HEADING
"Standard Report"
"ABC123 CAR"
"Company XYZ"
ON TABLE SUBHEAD
" <+0>1<+0>2<+0>3<+0>4<+0>5<+0>6"
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/BIRS05/_EDAHOME/ETC/endeflt.sty,
$
TYPE=TABHEADING,
     HEADALIGN=BODY,
$
ENDSTYLE
END
 

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


8007
Windows 7, PDF, Excel
 
Posts: 75 | Registered: September 03, 2013Report This Post
Master
posted Hide Post
What do you mean title rows? Titles are the heading on a column. Titles you can put a comma where you want it to move to the next row.

PRINT 
     Error_Column AS "1st Row,2nd Row"
         CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.BODYTYPE
     CAR.BODY.SEATS
     CAR.SPECS.LENGTH
     CAR.WARANT.WARRANTY



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
Are you wanting the 1,2,3,4,5,6 on their own row in Excel like in the picture below?


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
Master
posted Hide Post
Using this code:
DEFINE FILE CAR
Error_Column/I3=IF SEATS EQ 2 THEN 1 
ELSE IF SEATS EQ 4 THEN 3
ELSE 5;
END
TABLE FILE CAR
PRINT 
     Error_Column
     CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.BODYTYPE
     CAR.BODY.SEATS
     CAR.SPECS.LENGTH
     CAR.WARANT.WARRANTY
HEADING
"Standard Report"
"ABC123 CAR"
"Company XYZ"
" <+0>1<+0>2<+0>3<+0>4<+0>5<+0>6"
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE PCHOLD FORMAT EXL07

ON TABLE SET STYLE *
TYPE=REPORT, COLOR=RGB(66 70 73), FONT='TREBUCHET MS', SIZE=9, SQUEEZE=ON, ARICONSET='WHITE', GRID=ON, $
TYPE=HEADING, HEADALIGN=BODY, $
TYPE=HEADING, LINE=1, COLSPAN=7, STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=2, COLSPAN=7, STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=3, COLSPAN=7, STYLE=BOLD, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=4, COLSPAN=1, STYLE=BOLD, BACKCOLOR=RGB(169 53 26), COLOR=RGB(255 255 255), $
TYPE=TITLE, BACKCOLOR=RGB(169 53 26), COLOR=RGB(255 255 255), STYLE=BOLD, $
ENDSTYLE

END


I get this result in Excel:

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


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
Gold member
posted Hide Post
That worked, thank you!


8007
Windows 7, PDF, Excel
 
Posts: 75 | Registered: September 03, 2013Report This Post
Master
posted Hide Post
Put [SOLVED] in front of the title for your first post.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report 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] 2 title rows

Copyright © 1996-2020 Information Builders