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.
I'm using WF8 and I'm getting an extra line between line 4 and line 6. Anybody have any clue how to get rid of this? As a sidenote--I must have the borders (I believe this is the culprit) and get rid of the extra line.
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
CAR.BODY.BODYTYPE
CAR.BODY.SEATS
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
CAR.BODY.SALES
CAR.SPECS.LENGTH
CAR.SPECS.WIDTH
CAR.SPECS.HEIGHT
CAR.SPECS.WEIGHT
CAR.SPECS.WHEELBASE
CAR.SPECS.FUEL_CAP
CAR.SPECS.BHP
CAR.SPECS.RPM
CAR.SPECS.MPG
CAR.SPECS.ACCEL
CAR.WARANT.WARRANTY
CAR.EQUIP.STANDARD
ON TABLE SUBHEAD
"Fare By Rule"
HEADING
"Markets and Discounts"
"<+0> MARKETS <+0> PASSENGER "
ON TABLE SET PAGE OFF
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET BYDISPLAY ON
ON TABLE SET DROPBLNKLINE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET STYLE *
$
TYPE=REPORT,
FONT='CALIBRI',
SIZE=11,
COLOR='BLACK',
STYLE=NORMAL,
TITLETEXT=Fare By Rule,
$
TYPE=TITLE,
FONT='CALIBRI',
SIZE=11,
COLOR='WHITE',
BACKCOLOR=RGB(83 141 213),
STYLE=BOLD,
JUSTIFY=CENTER,
$
TYPE=DATA,
BORDER=.1,
$
TYPE=TABHEADING,
FONT='CAMBRIA',
SIZE=18,
COLOR=RGB(0 176 80),
STYLE=BOLD,
$
TYPE=HEADING,
HEADALIGN=BODY,
FONT='CAMBRIA',
SIZE=16,
COLOR=RGB(31 73 125),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
ITEM=1,
COLSPAN=3,
STYLE=BOLD,
JUSTIFY=CENTER,
COLOR=RED,
BACKCOLOR=RGB(218 150 148),
$
TYPE=HEADING,
LINE=2,
ITEM=1,
COLSPAN=3,
STYLE=BOLD,
JUSTIFY=CENTER,
COLOR=RED,
BACKCOLOR=RGB(83 141 213),
$
END
This message has been edited. Last edited by: FP Mod Chuck,
Use an Excel template with a macro named Auto_Open and let that add your borders. Maybe it is something that has been fixed in a newer release but I have never had borders in WebFOCUS work the way I want. Here's a simple example of the macro. This does borders around the column titles, does a freeze pane, autofits the columns and turns on auto filter. Almost every Excel report we do has these basic functions.
Sub Auto_Open()
Application.ScreenUpdating = False
Application.PrintCommunication = False
Sheets(1).Select
If Sheets(1).Name = "Sheet1" Then
Sheets(1).Select
Sheets(1).Name = "Addresses"
ws_last_row = Cells.SpecialCells(xlLastCell).Row
ws_last_col = Cells.SpecialCells(xlLastCell).Column
Range(Cells(2, 1), Cells(ws_last_row, ws_last_col)).Select
Selection.Columns.AutoFit
Range(Cells(2, 1), Cells(2, ws_last_col)).Select
Call borders
Selection.AutoFilter
Range("A3").Select
ActiveWindow.FreezePanes = True
End If
Application.PrintCommunication = True
Application.ScreenUpdating = True
End Sub
Public Sub borders()
Selection.borders(xlDiagonalDown).LineStyle = xlNone
Selection.borders(xlDiagonalUp).LineStyle = xlNone
Selection.borders(xlEdgeLeft).Weight = xlThin
Selection.borders(xlEdgeTop).Weight = xlThin
Selection.borders(xlEdgeBottom).Weight = xlThin
Selection.borders(xlEdgeRight).Weight = xlThin
Selection.borders(xlInsideVertical).Weight = xlThin
Selection.borders(xlInsideHorizontal).Weight = xlThin
End Sub
Another advantage to this is doing group borders. Say you have several columns that are all related and you want to use a thicker border around the column group. Seems much simpler to let an Excel macro do the work, especially since WebFOCUS will not let you freeze panes and turn on auto-filter, do vertical center and a host of other things Excel can do in formatting. Maybe one can do the same thing with CSS but I'm not a CSS person.This message has been edited. Last edited by: jgelona,
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
I've been trying to actually do this with CSS, but I'm having no luck with EXL07. Anyone have any suggestions? @jgelona, your way is a bit over my head and I couldn't get it integrated. :/
I was able to get the code below working, but I'm struggling with EXL07.
TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.COMP.CAR
CAR.CARREC.MODEL
CAR.BODY.BODYTYPE
CAR.BODY.SEATS
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
CAR.BODY.SALES
CAR.SPECS.LENGTH
CAR.SPECS.WIDTH
CAR.SPECS.HEIGHT
CAR.SPECS.WEIGHT
CAR.SPECS.WHEELBASE
CAR.SPECS.FUEL_CAP
CAR.SPECS.BHP
CAR.SPECS.RPM
CAR.SPECS.MPG
CAR.SPECS.ACCEL
CAR.WARANT.WARRANTY
CAR.EQUIP.STANDARD
ON TABLE SUBHEAD
"Fare By Rule"
HEADING
"Markets and Discounts"
"<+0> MARKETS <+0> PASSENGER "
ON TABLE SET PAGE OFF
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET BYDISPLAY ON
ON TABLE SET DROPBLNKLINE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET STYLE *
$
TYPE=REPORT,
FONT='CALIBRI',
SIZE=11,
COLOR='BLACK',
STYLE=NORMAL,
TITLETEXT=Fare By Rule,
$
TYPE=TITLE,
FONT='CALIBRI',
SIZE=11,
COLOR='WHITE',
BACKCOLOR=RGB(83 141 213),
STYLE=BOLD,
JUSTIFY=CENTER,
$
TYPE=DATA,
BORDER=.1,
$
TYPE=TABHEADING,
FONT='CAMBRIA',
SIZE=18,
COLOR=RGB(0 176 80),
STYLE=BOLD,
$
TYPE=HEADING,
HEADALIGN=BODY,
FONT='CAMBRIA',
SIZE=16,
COLOR=RGB(31 73 125),
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
ITEM=1,
COLSPAN=3,
STYLE=BOLD,
JUSTIFY=CENTER,
COLOR=RED,
BACKCOLOR=RGB(218 150 148), CLASS=headstyle,
$
TYPE=HEADING,
LINE=2,
ITEM=1,
COLSPAN=3,
STYLE=BOLD,
JUSTIFY=CENTER,
COLOR=RED,
BACKCOLOR=RGB(83 141 213), CLASS=headstyle,
$
END
SET HTMLFORMTYPE=XLS
-RUN
-HTMLFORM BEGIN
<style type="text/css">
.headstyle {border: 1px solid black;}
</style>
!IBI.FIL.HOLD;
-HTMLFORM END
This message has been edited. Last edited by: Ifra,