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] SPLIT CELLS in EXL2K

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] SPLIT CELLS in EXL2K
 Login/Join
 
Guru
posted
Hi guys,

I have a simple question...

In formatting a HEADING in EXL2K, we can merge 2 data columns using COLSPAN.

I want to do the opposite. I want to split 1 data column to 2 columns in the Heading.

How do you accomplish this in 7.7.03?

Regards,
Anatess

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
You DEFINE or COMPUTE the two columns and include them in the HEADING.


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
Guru
posted Hide Post
I'm not sure what you mean, Francis. I want the 2 fields in 2 different columns in the HEADING to line up to one column of Data.

So, there are 2 possible ways - both of which I don't know how to accomplish:

1.) Headalign=body and then figure out a way to split one cell into 2 instead of merging 2 cells into 2.

2.) COLSPAN=2 on the Data Row - which is not an available functionality.

Ideas?


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
Anatess,

Originally, you stated "I want to split 1 data column to 2 columns in the Heading". That is usually satisfied by using DEFINE or COMPUTE to create the two individual columns.

It's the "I want the 2 fields in 2 different columns in the HEADING to line up to one column of Data" that's not possible in WebFOCUS, because, as you know, you cannot merge two data row cells. I would probably merge the two columns in the heading, separating them with a dash...


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
Guru
posted Hide Post
The problem is that the heading has to have those 2 fields in separate cells (used in functions) so the dash won't work.

And there are 4 columns in the Heading and only 2 on the data...


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
HI Anatess,

Would faking it work for you?
DEFINE FILE EMPDATA
  JOBCLASS_1/A3 = EDIT(JOBCLASS, '999$');
  JOBCLASS_2/A3 = EDIT(JOBCLASS, '$$$99$');
  JOBCLASS_3/A3 = EDIT(JOBCLASS, '$$$$$9$');
END

TABLE FILE EMPDATA
PRINT SALARY
      COMPUTE BLANK_COL/A1 = ''; AS ''
      HIREDATE
      COMPUTE BLANK_COL/A1 = ''; AS ''
BY TITLE NOPRINT PAGE-BREAK
HEADING
" <+0> <JOBCLASS<JOBCLASS_1<JOBCLASS_2<JOBCLASS_3"
BY LASTNAME
BY FIRSTNAME
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
  TYPE=REPORT, HEADALIGN=BODY, $
ENDSTYLE
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
Tony, thanks. This is exactly how I have it now. Our business folks don't like it. Frowner

So, I created the report just like this and I'm going to create a template for it to run a macro that merges the data rows.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report 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] SPLIT CELLS in EXL2K

Copyright © 1996-2020 Information Builders