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] Justify a column title on top of the tiitle box

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Justify a column title on top of the tiitle box
 Login/Join
 
Gold member
posted
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 weekend

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


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Gold member
posted Hide Post
Works fine


Thank you very much for your support

Have a nice week


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Master
posted Hide Post
Hi

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 you

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


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report 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] Justify a column title on top of the tiitle box

Copyright © 1996-2020 Information Builders