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] How to force TEXT and FIELD VALUE in the same cell in SUBHEAD or SUBFOOT?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[closed] How to force TEXT and FIELD VALUE in the same cell in SUBHEAD or SUBFOOT?
 Login/Join
 
Platinum Member
posted
The report output is EXL2K. Here is part of the code:

quote:

ON TABLE SUBHEAD
"Performance Summary <+0>Ending Period < MONTH_END"
...
TYPE=TABHEADING, HEADALIGN=BODY,$

TYPE=TABHEADING, LINE=1, ITEM=1, SIZE=10, COLSPAN=2, JUSTIFY=LEFT, STYLE=BOLD, $
TYPE=TABHEADING, LINE=1, ITEM=2, SIZE=11, COLSPAN=10, STYLE=BOLD+ITALIC, JUSTIFY=RIGHT, $


MONTH_END is a field value ('March 31, 2014').

Because text ITEM 1 and ITEM 2 has different format, and opposite JUSTIFY, I have to use HEADALIGN=BODY to separate them into 2 cells. However, < MONTH_END is then displayed in a 3rd cell of the heading row. Is it possible to make the text 'Ending Period ' and < MONTH_END in the same cell?

Thanks!

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


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Expert
posted Hide Post
ON TABLE SUBHEAD
"Performance Summary <+0>Ending Period <MONTH_END"

Create a COMPUTEd field that contains the text and the field:

COMPUTE MONTH_END_TXT/A40 = 'Ending Period ' | MONTH_END; NOPRINT
...
ON TABLE SUBHEAD
"Performance Summary <MONTH_END_TXT"

If MONTH_END is a date or date/time field, you'll have to use a date or date/time function to convert it to alpha...


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
Platinum Member
posted Hide Post
Francis, that's smart! Thanks!


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Expert
posted Hide Post
or FPRINT function, which takes anything numeric and converts it, complete with all its $ and , and whatever.
so you could concat your text string to an FPRINT of something.
very pretty.
FPRINT works as low as 768




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
quote:
Francis Mariani

It is over 10years since that post and your solution. And your workaround helped me today! Thanks!


Wf7704/WF8,Win64/32
 
Posts: 68 | Registered: February 20, 2004Report 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] How to force TEXT and FIELD VALUE in the same cell in SUBHEAD or SUBFOOT?

Copyright © 1996-2020 Information Builders