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] Joining multiple values into one column (mailing address)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Joining multiple values into one column (mailing address)
 Login/Join
 
Gold member
posted
In a report I am listing a mailing address. Instead of listing each column out like address_line_1, address_line_2, city, state, zip.. I would like to list them under one column.

Now, I know I could join them together in a define as something like:
ADDRESS_JOINED/A300 = ADDRESS_LINE_1||ADDRESS_LINE_2|| and so on, but I need to add a return after each line. Something like ADDRESS_JOINED/A300 = ADDRESS_LINE_1|'
Other than listing out formatting in a subhead, what can I do? is that my only option here?

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


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report This Post
Expert
posted Hide Post
Have you tried A OVER B OVER C...?

What is your report output format?


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
Gold member
posted Hide Post
Yeah, I just ran across that in another thread. Thanks. That gets my data right but bumps my column heading to the left of my data, and how do I get a heading on my address data (without editing the style sheet preferably). I am still relatively new to WF as you can tell, so I appreciate any help.

PRINT SO_NUMBER AS 'So #'
ADDRESS_LINE1 AS '' IN 20 OVER ADDRESS_LINE2 AS '' IN 20

Outputs like:
So # 012345........123 Fakestreet
...................Suite B

But I need something like:
So #..............Street Address
012345............123 Fakestreet
..................Suite B
(Periods signify spacing)

This is in a PDF


WebFOCUS 7.6.3 | Solaris 10 | Excel, PDF
 
Posts: 46 | Location: Austin TX | Registered: June 04, 2009Report This Post
Expert
posted Hide Post
TABLE FILE CAR
PRINT
COMPUTE COLTITLE1/A20 = '#'; AS '' IN 1
COMPUTE COLTITLE2/A20 = 'ADDRESS'; IN 15 AS '' 
OVER
COUNTRY AS '' IN 1
CAR AS '' IN 15
OVER
COMPUTE DUMMY1/A1 = ''; AS '' IN 1
MODEL AS '' IN 15
OVER
COMPUTE DUMMY2/A1 = ''; AS '' IN 1
BODYTYPE AS '' IN 15

BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL NOPRINT
ON MODEL SUBHEAD
" "

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
TYPE=REPORT, FONT=ARIAL, SIZE=8, $
TYPE=DATA, COLUMN=COLTITLE1, STYLE=BOLD, $
TYPE=DATA, COLUMN=COLTITLE2, STYLE=BOLD, $

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] Joining multiple values into one column (mailing address)

Copyright © 1996-2020 Information Builders