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] Stacking/Combining Columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Stacking/Combining Columns
 Login/Join
 
Gold member
posted
I'd like to print two columns together in the space of one column. In my real world example it's the post date and purchase date on a purchase card report. So it would look like:
|Card | Purchase/ | Amt   | ETC
|     | Post Date |       |
|1234 | 10/1/2017 | 33.01 | etc
|     | 10/3/2017 |       |
|3425 | 10/2/2017 | 26.71 | etc
|     | 10/5/2017 |       |
  


I guess for the CAR example it could be something like:
  
|Region | Make/  | Sales
|       | Model  |
|SE     | Ford   | 120,000
|       | Fiesta |
|SE     | Mazda  | 133,000
|       | Miada  |




I'm pretty sure I've seen this done before, but I cannot find the right terms to look it up in the Help documents.

This message has been edited. Last edited by: FP Mod Chuck,


Kevin Patterson
Appalachian State University
WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 57 | Registered: February 29, 2012Report This Post
Virtuoso
posted Hide Post
Hi Kevin

Try this...

TABLE FILE CAR
PRINT 
     CAR.COMP.CAR AS '' OVER 
     CAR.CARREC.MODEL AS ''
     CAR.BODY.SALES AS ''
BY  CAR.ORIGIN.COUNTRY AS ''
HEADING
"Country<+0>Car/Model<+0>Sales<+0> "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=HEADING,
     HEADALIGN=BODY,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     COLSPAN=1,
     JUSTIFY=LEFT,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=2,
     COLSPAN=1,
     JUSTIFY=LEFT,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=3,
     COLSPAN=1,
     JUSTIFY=LEFT,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=4,
     COLSPAN=1,
     JUSTIFY=LEFT,
$
ENDSTYLE
END


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Gold member
posted Hide Post
Thank you that was what I was looking for! I'm still having some trouble with my heading... probably because I have a compute field I'm using in the footer that I'm not printing out... but that's a different issue.


Kevin Patterson
Appalachian State University
WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 57 | Registered: February 29, 2012Report 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] Stacking/Combining Columns

Copyright © 1996-2020 Information Builders