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     MERGING CELLS IN EXL2K FORMAT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
MERGING CELLS IN EXL2K FORMAT
 Login/Join
 
Platinum Member
posted
hi friends ,

We have a requirement that whenever there is a grouped column in a report and that report is exported to excel format. Then the cells in the grouped column be merged so that there are no empty cells in that grouped column. Please try the below code as an example,

There you can find that the column DIV having blank cells AS it is a grouped column.

What we want is those empty cells to be merged into one.
  

SET PRINTPLUS = ON
SET EMPTYCELL = ON
SET GRID = ON
TABLE FILE EMPDATA
BY DIV
BY DEPT
BY FIRSTNAME
BY LASTNAME
HEADING
" Ref: R1295 <+0> <+0> Commercial in Confidence<+0>Run on: &DATEDMYY "
" <+0> <+0> "
" Year: 2007<+0> Period: 09"
" Division: <+0>IS"
" Department: <+0>IS"
" Acct: 83505"
FOOTING BOTTOM
" Page "FSL Commercial in Confidence"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='A4',
LEFTMARGIN=0.180556,
RIGHTMARGIN=0.180556,
TOPMARGIN=0.097222,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
BOTTOMGAP=0.027778,
$
TYPE=FOOTING,
BORDER=LIGHT,
BORDER-COLOR=RGB(66 66 66),
COLOR='WHITE',
BACKCOLOR=RGB(189 190 194),
BOTTOMGAP=0.097222,
JUSTIFY=CENTER,
$
ENDSTYLE
END
  


I have searched the forum..Found nothing concrete..

Thank you very much


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
 
Posts: 189 | Registered: January 30, 2008Report This Post
Virtuoso
posted Hide Post
Looks like all of your code didn't make it into the post (the footing bottom part is messed up). When posting code, please include it between
[code]
[/code] markers.

I'm not quite sure what you mean by "merging into one." You can fill in the appropriate values when exporting to Excel by including SET BYDISPLAY = ON or I usually use it as follows in the ON TABLE section:

-IF &OUTPUT NE 'EXL2K' THEN GOTO NODISPLAYBY;
ON TABLE SET BYDISPLAY ON
-NODISPLAYBY


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
hmmm thanks darin...

Hmmm After opening the spreadsheet , we can merger empty cells into one. In the sense , remove border lines between two adjacent cells.

I searched the forum , i guess i will use BYDISPLAY in Excel..

Thanks DARIN


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
 
Posts: 189 | Registered: January 30, 2008Report 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     MERGING CELLS IN EXL2K FORMAT

Copyright © 1996-2020 Information Builders