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.
This message has been edited. Last edited by: <Kathryn Henning>,
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
Be very careful when using fields within headings etc. as a space character between fields is considered as another column!
ON MODEL SUBHEAD
"<COUNTRY<CAR<MODEL<BODYTYPE"
A quick tip to help you understand why columns are, seemingly, not respected in the output is to just add a different "backcolor" to each column in your style section so that it stands out.
TABLE FILE CAR
BY COUNTRY NOPRINT
BY MODEL NOPRINT
ON COUNTRY SUBHEAD
"Country<+0 Car<+0 Model<+0 Bodytype"
ON MODEL SUBHEAD
"<COUNTRY <CAR <MODEL <BODYTYPE"
HEADING
"PDF Sample Report Under SUBHEAD"
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
units=in, pagesize='letter', squeeze=on, orientation=landscape, $
type=report, grid=off, font='arial', size=9, $
type=heading, line=1, justify=center, size=12, style=bold, $
type=subhead, size=10, style=bold, by=1, font='arial narrow', color='white', backcolor='blue', $
type=subhead, by=1, item=1, justify=left, width=1.50, $
type=subhead, by=1, item=2, justify=left, width=1.00, $
type=subhead, by=1, item=3, justify=left, width=2.00, $
type=subhead, by=1, item=4, justify=left, width=1.50, wrap=1.50, $
type=subhead, by=2, item=1, justify=left, width=1.50, backcolor=red, $
type=subhead, by=2, item=2, justify=left, width=1.00, backcolor=blue, $
type=subhead, by=2, item=3, justify=left, width=2.00, backcolor=green, $
type=subhead, by=2, item=4, justify=left, width=1.50, backcolor=aqua, wrap=1.50, $
ENDSTYLE
END
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Thanks Tony.. I do use color to help myself.. I worked on creating HTML and Excel format for the long report I am working, now on PDF format.
On my end, did not see Item=4 wrap? After the last column (Item=4) color runs off right to the end of the page.. Is there a way show color only for the length of the Last Item?
Thanks
TABLE FILE CAR
BY COUNTRY NOPRINT
BY MODEL NOPRINT
ON COUNTRY SUBHEAD
"Country<+0>Car<+0>Model<+0>Bodytype"
ON MODEL SUBHEAD
"<COUNTRY<+0><CAR<+0><MODEL<+0><BODYTYPE"
HEADING
"PDF Sample Report Under SUBHEAD"
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='LETTER', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $
-* Label Row
TYPE=HEADING, LINE=1, JUSTIFY=CENTER, SIZE=12, STYLE=BOLD, $
-* Font and Color of the Label Row Contents NO WIDTH
TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, BY=1,FONT='ARIAL NARROW', COLOR='WHITE', BACKCOLOR='BLUE', $
-* Size/Width of the Label Contents (Color and Font size come from above line)
TYPE=SUBHEAD, BY=1, ITEM=1, JUSTIFY=LEFT, WIDTH=1.5,$
TYPE=SUBHEAD, BY=1, ITEM=2, JUSTIFY=LEFT, WIDTH=1.00, $
TYPE=SUBHEAD, BY=1, ITEM=3, JUSTIFY=LEFT, WIDTH=2.00, $
TYPE=SUBHEAD, BY=1, ITEM=4, JUSTIFY=LEFT, WIDTH=1.50, WRAP=1, $
TYPE=SUBHEAD, BY=2, ITEM=1, JUSTIFY=LEFT, WIDTH=1.50, BACKCOLOR=RED, $
TYPE=SUBHEAD, BY=2, ITEM=2, JUSTIFY=LEFT, WIDTH=1.00, BACKCOLOR=YELLOW, $
TYPE=SUBHEAD, BY=2, ITEM=3, JUSTIFY=LEFT, WIDTH=2.00, BACKCOLOR=GREEN, $
TYPE=SUBHEAD, BY=2, ITEM=4, JUSTIFY=LEFT, WIDTH=1.50, BACKCOLOR=AQUA, WRAP=1, $
ENDSTYLE
END
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
How do you use > when its a text in the subhead to control the running of color to the right of the column..?
Thanks
TABLE FILE CAR
BY COUNTRY NOPRINT
BY MODEL NOPRINT
ON COUNTRY SUBHEAD
"Country<+0>Car<+0>Model<+0>Bodytype Bodytpe Wrap<+0>"
ON MODEL SUBHEAD
"<COUNTRY<+0><CAR<+0><MODEL<+0><BODYTYPE>"
HEADING
"PDF Sample Report Under SUBHEAD"
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='LETTER', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $
-* Label Row
TYPE=HEADING, LINE=1, JUSTIFY=CENTER, SIZE=12, STYLE=BOLD, $
-* Font and Color of the Label Row Contents NO WIDTH
TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, BY=1,FONT='ARIAL NARROW', COLOR='WHITE', BACKCOLOR='BLUE', $
-* Size/Width of the Label Contents (Color and Font size come from above line)
TYPE=SUBHEAD, BY=1, ITEM=1, JUSTIFY=LEFT, WIDTH=1.5,$
TYPE=SUBHEAD, BY=1, ITEM=2, JUSTIFY=LEFT, WIDTH=1.00, $
TYPE=SUBHEAD, BY=1, ITEM=3, JUSTIFY=LEFT, WIDTH=2.00, $
TYPE=SUBHEAD, BY=1, ITEM=4, OBJECT=TEXT, JUSTIFY=LEFT, WIDTH=.500, WRAP=.500, $
TYPE=SUBHEAD, BY=2, ITEM=1, JUSTIFY=LEFT, WIDTH=1.50, BACKCOLOR=RED, $
TYPE=SUBHEAD, BY=2, ITEM=2, JUSTIFY=LEFT, WIDTH=1.00, BACKCOLOR=YELLOW, $
TYPE=SUBHEAD, BY=2, ITEM=3, JUSTIFY=LEFT, WIDTH=.500, BACKCOLOR=GREEN,WRAP=.5, $
TYPE=SUBHEAD, BY=2, ITEM=4, JUSTIFY=LEFT, WIDTH=.500, BACKCOLOR=AQUA, WRAP=.5, $
ENDSTYLE
END
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008