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     [SOLVED] Aligning multiple fields/text strings in a Heading

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Aligning multiple fields/text strings in a Heading
 Login/Join
 
Gold member
posted
Can someone please assist me with aligning multiple fields/text strings in my heading. I've been reading up on how to format headings using spot markers but I can't seem to get it working. See syntax below:
HEADING
"DATE: &DATEMDYY <+0> PAGE:
$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, JUSTIFY=LEFT,
$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, JUSTIFY=RIGHT,

I specified the Line because I have multiple lines in my heading. I'm trying to justify item 1 to the left and item 2 to the right. what am i doing wrong?

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


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
 
Posts: 91 | Registered: May 15, 2008Report This Post
Expert
posted Hide Post
TYPE=HEADING,HEADALIGN=INTERNAL,$
before your first LINE=n command,
if you want left,center, and that's all you want.
HEADALIGN=BODY is more flexible, but start with INTERNAL




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
I tried using the INTERNAL but no luck. Here's what I have:
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,$
TYPE=HEADING, SIZE=9,$
TYPE=HEADING,HEADALIGN=INTERNAL,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, JUSTIFY=LEFT, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, JUSTIFY=RIGHT, $

Did I miss something?


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
 
Posts: 91 | Registered: May 15, 2008Report This Post
Expert
posted Hide Post
you're outputing to excel! all bets are off




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
LOL....OK I figured...what are my options?


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
 
Posts: 91 | Registered: May 15, 2008Report This Post
Gold member
posted Hide Post
I used HTML and it worked. Thanks for all your help.


WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
 
Posts: 91 | Registered: May 15, 2008Report This Post
Expert
posted Hide Post
For EXL2K, HEADALIGN=INTERNAL does not work, but HEADALIGN=BODY should...

TABLE FILE CAR
HEADING
"CAR REPORT"
"COUNTRY: <COUNTRY"
"CAR: <CAR"
" "
SUM
SALES
BY COUNTRY NOPRINT
BY CAR NOPRINT PAGE-BREAK
BY MODEL

ON TABLE PCHOLD FORMAT EXL2K

ON TABLE SET STYLE *

TYPE=HEADING, STYLE=BOLD, HEADALIGN=BODY, $
TYPE=HEADING, ITEM=1, COLOR=BLUE, $
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [SOLVED] Aligning multiple fields/text strings in a Heading

Copyright © 1996-2020 Information Builders