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     [CLOSED] How to border item in the report header ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to border item in the report header ?
 Login/Join
 
Platinum Member
posted
In my report header, I put 3 lines, each line have 4 items, I need to put the border at item 2 and 4 of line 2 and 3. Anybody have solution for this ?
Thanks in advance.

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


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 125 | Registered: June 17, 2013Report This Post
Virtuoso
posted Hide Post
As far as I know, you can't put borders around inner items in a HEADING, only around the whole HEADING itself.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Virtuoso
posted Hide Post
When I've had similar needs in the past, I had resorted to use SUBHEAD to simulate the heading and column titles (one-pager HTML report only!) as shown in the sample below:

DEFINE FILE CAR
BRK/A1 = ' ';
END
TABLE FILE CAR
PRINT
        CAR AS ''
        MODEL AS ''
        DEALER_COST AS ''
BY BRK NOPRINT
BY COUNTRY AS ''
ON BRK SUBHEAD
"1.1<+0>1.2<+0>1.3<+0>1.4"
"2.1<+0>2.2<+0>2.3<+0>2.4"
"3.1<+0>3.2<+0>3.3<+0>3.4"
"COUNTRY<+0>CAR<+0>MODEL<+0>DEALER_COST"
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE OFF
ON TABLE HOLD AS HREPORT FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, UNITS=PTS, $
TYPE=DATA, BORDER=0.5, $
TYPE=TITLE, BORDER=0.5, $
$
TYPE=SUBHEAD, HEADALIGN=BODY, $
$
TYPE=SUBHEAD, LINE=2, OBJECT=TEXT, ITEM=2, CLASS=cellborder, $
TYPE=SUBHEAD, LINE=3, OBJECT=TEXT, ITEM=4, CLASS=cellborder, $
TYPE=SUBHEAD, LINE=2, OBJECT=TEXT, ITEM=2, CLASS=cellborder, $
TYPE=SUBHEAD, LINE=3, OBJECT=TEXT, ITEM=4, CLASS=cellborder, $
-* "TITLE" formatting
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=1, CLASS=title, $
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=2, CLASS=title, $
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=3, CLASS=title, $
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=4, CLASS=title, $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<html><head>
<style type="text/css">
.title, .cellborder {
   border-top: 0.50pt SOLID #000000; border-bottom: 0.50pt SOLID #000000;
   border-right: 0.50pt SOLID #000000; border-left: 0.50pt SOLID #000000; 
}
.title { background-color: lightgray; }
</style>
<body>
!IBI.FIL.HREPORT;
</body>
</html>
-HTMLFORM END

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Platinum Member
posted Hide Post
Thanks njsden. This is a very cool trick.

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


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 125 | Registered: June 17, 2013Report This Post
Virtuoso
posted Hide Post
I learned this technique from one of the many cool ones presented by Rob Palmer from IBI Smiler A very useful trick indeed.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Virtuoso
posted Hide Post
Maybe we're not able to add border to specific element in a header, however if it's to put in evidence some info, you can highlight element in heading :

 TABLE FILE CAR
PRINT
     CAR.CARREC.MODEL
BY  LOWEST CAR.COMP.CAR
HEADING
"Hd R1C1<+0>Hd R1C2: <CAR.ORIGIN.COUNTRY<+0>Hd R1C3<+0>Hd R1C4"
"Hd R2C1<+0>Hd R2C2<+0>Hd R2C3<+0>Hd R2C4"
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.250000,
     RIGHTMARGIN=0.250000,
     TOPMARGIN=0.250000,
     BOTTOMMARGIN=0.250000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=HEADING,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     JUSTIFY=LEFT,
     WIDTH=1.000,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=2,
     JUSTIFY=RIGHT,
     WIDTH=1.375,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=3,
     JUSTIFY=LEFT,
     WIDTH=1.000,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=4,
     JUSTIFY=CENTER,
     WIDTH=2.000,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=1,
     JUSTIFY=LEFT,
     WIDTH=1.625,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=1,
     JUSTIFY=LEFT,
     WIDTH=1.000,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=2,
     COLOR='WHITE',
     BACKCOLOR='GREEN',
     JUSTIFY=CENTER,
     WIDTH=3.000,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=3,
     JUSTIFY=LEFT,
     WIDTH=1.000,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=4,
     COLOR='WHITE',
     BACKCOLOR='GREEN',
     JUSTIFY=CENTER,
     WIDTH=2.000,
$
ENDSTYLE
END
 


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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     [CLOSED] How to border item in the report header ?

Copyright © 1996-2020 Information Builders