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     COMPOUND Excel and ACROSS and COLSPAN

Read-Only Read-Only Topic
Go
Search
Notify
Tools
COMPOUND Excel and ACROSS and COLSPAN
 Login/Join
 
Expert
posted
I don't suppose there's a way to use COLSPAN to get an ACROSS column to span two columns in a COMPOUND Excel report?

This is a sample fex:

TABLE FILE CAR
SUM
WARRANTY
LENGTH
WIDTH
BY COUNTRY
BY SEATS

ON TABLE HOLD AS H001
END

TABLE FILE H001
SUM
LENGTH
WIDTH
BY COUNTRY
ACROSS SEATS AS ''

HEADING
"CAR TEST"
" "
"DIMENSIONS"
" "

ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK

ON TABLE SET STYLE *
TYPE=HEADING, LINE=1, STYLE=BOLD, COLOR=BLUE, $
TYPE=HEADING, LINE=3, STYLE=BOLD, COLOR=NAVY, $
TYPE=TITLE, STYLE=BOLD, $
TYPE=ACROSSVALUE, STYLE=BOLD, BACKCOLOR=SILVER, JUSTIFY=CENTER, $
ENDSTYLE
END

TABLE FILE H001
SUM
WARRANTY
BY COUNTRY
ACROSS SEATS AS ''

HEADING
" "
"WARRANTIES"
" "

ON TABLE PCHOLD FORMAT EXL2K CLOSE

ON TABLE SET STYLE *
TYPE=HEADING, LINE=2, STYLE=BOLD, COLOR=NAVY, $
TYPE=TITLE, STYLE=BOLD, $
TYPE=ACROSSVALUE, STYLE=BOLD, BACKCOLOR=SILVER, JUSTIFY=CENTER, $
ENDSTYLE
END

What I get:


What I'd like:


Thanks,


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
Expert
posted Hide Post
Hi Francis,

Adding an additional dummy compute after WARRANTY improves it a bit. Closer, but still not quite what you want although it may seed ideas?
TABLE FILE H001
SUM
WARRANTY
 COMPUTE DUMMY/A1 MISSING ON = MISSING; AS ''

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
Virtuoso
posted Hide Post
You might be able to get your desired output by applying a template to your data, putting your data on separate worksheets to reference from the template.

You would need a template workbook (xltx or xlmx format) with the template as the first sheet and enough sheets for the various different kind of data (mixing them makes the template harder to write).


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
Tony, thanks, yes I added a column amazingly called DUMMY:
COMPUTE DUMMY1/A1 = ''; AS ''


Wep5622, I have not considered a template, mainly because the report is a compound Excel with multiple pieces in two tabs...


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     COMPOUND Excel and ACROSS and COLSPAN

Copyright © 1996-2020 Information Builders