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 have one column title with two and one with three lines. To center the column title was no problem.
But now I try to bring the two line column header to the top (means the empty row shold appear at the bottom of the column header - not on top):
TABLE FILE CAR
PRINT
'CAR.ORIGIN.COUNTRY' AS 'First County line,Second Country line'
'CAR.COMP.CAR' AS 'First Car Line,Second Car Line,Third Car Line'
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=TITLE,
COLUMN=N2,
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=N1,
JUSTIFY=CENTER,
$
ENDSTYLE
END
Any idea?
Thank you in advance and have a nice weekendThis message has been edited. Last edited by: MichaelBalle,
WebFOCUS 7.6, 7.7 Windows, All Output formats
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010
Two commas: 'First County line,Second Country line,,' will produce a blank line, but the column title under-line will be missing. Using the hard space HTML character will do the trick, but it requires a bunch of them to produce a long-enough under-line. A -REPEAT loop makes it easier to set the number of hard spaces to the right length.
-SET &BLANKLINE = '&|nbsp;';
-*
-REPEAT :ENDREPEAT1 35 TIMES
-SET &BLANKLINE = &BLANKLINE | '&|nbsp;';
-:ENDREPEAT1
-*
TABLE FILE CAR
PRINT
'CAR.ORIGIN.COUNTRY' AS 'First County line,Second Country line,&BLANKLINE'
'CAR.COMP.CAR' AS 'First Car Line,Second Car Line,Third Car Line'
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $
TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, $
TYPE=TITLE, JUSTIFY=CENTER, $
ENDSTYLE
END
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Is there any better technique to do this in 7.7 and above? I am looking to have title in the middle both horizontally and vertically. Few of my field titles are 1 line, 2 lines and in 3 lines as well.
Thank youThis message has been edited. Last edited by: Enigma006,