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 am new to WebFocus, and am trying to emulate an existing report. I need to put a border around particular text in the header, which spans two lines. The border should go around the text (one border around both lines of text, rather than individual borders around each line of text), but not across the whole header, only around the text itself. Is this possible with WebFocus?
Posts: 44 | Location: St. Louis | Registered: September 17, 2004
If your output is HTML you can use CSS to add borders. An example CSS file: /* ibi/apps/tests/styles.css: */ .border_top { border-top : solid; border-left : solid; border-right : solid; } .border_mid { border-left : solid; border-right : solid; }
And the example report: SET CSSURL='/approot/tests/styles.css'; TABLE FILE CAR ON TABLE SET PAGE-NUM OFF ON TABLE SET HTMLCSS ON HEADING "This is line 1" "This is line 2" "This is line 3" "This is line 4" SUM SALES BY COUNTRY ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF,$ TYPE=HEADING, LINE=2, CLASS='border_top',$ TYPE=HEADING, LINE=3, CLASS='border_bot',$
When the output format is PDF the formating is not such straightforward like for HTML, but there are possible tricks with invisible sort columns, HEADALING options, etc.
For example:
DEFINE FILE CAR ONE/I1 = 1; TWO/I1 = 2; THREE/I1 = 3; END
TABLE FILE CAR ON TABLE SET PAGE-NUM OFF ON TABLE PCHOLD FORMAT PDF SUM SALES AS '' BY ONE NOPRINT BY TWO NOPRINT BY THREE NOPRINT BY COUNTRY AS '' ON ONE SUBHEAD "LINE 1" ON TWO SUBHEAD "BORDERED 1" "BORDERED 2" ON THREE SUBHEAD "LINE 2" "" " Country <+> Car " ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, STYLE=BOLD, SQUEEZE=ON, $ TYPE=SUBHEAD, BY=THREE, LINE=3, OBJECT=TEXT, ITEM=1, POSITION=P1,$ TYPE=SUBHEAD, BY=THREE, LINE=3, OBJECT=TEXT, ITEM=2, POSITION=P2,$ TYPE=SUBHEAD, BY=TWO, BORDER=MEDIUM,$ ENDSTYLE END