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] Compound Excel report question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Compound Excel report question
 Login/Join
 
Platinum Member
posted
If you are creating a compound Excel document, the first table request will have an ON TABLE ... FORMAT EXL2K OPEN. The next table request(s) will have an ON TABLE ... FORMAT EXL2K. And the last table request will have an ON TABLE ... FORMAT EXL2K CLOSE.

This has worked even when the first table request retrieved no records. Will this be the case every time the first table request retrieves no records, or did I just luck out and I should add some extra logic to handle this situation?

Thank you,

John

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


WF 7.7.03, Windows 7, HTML, Excel, PDF
 
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 2006Report This Post
Virtuoso
posted Hide Post
I believe that this is the correct behavior - if it's working the same as with a compound PDF document. However, using OPEN and CLOSE is the "old" syntax for creating a compound document. If you switch to the new syntax, this can cause problems with the layout when the first part contains no records.


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
I came across this situation yesterday. when the first table request had zero records, it did create the compound Excel document, but did not create the first worksheet, which makes sense.

Since the first worksheet is needed, because another Excel workbook has links to every worksheet in the compound Excel document that WebFOCUs creates, the solution was to add SET EMPTYREPORT = ON.


WF 7.7.03, Windows 7, HTML, Excel, PDF
 
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 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] Compound Excel report question

Copyright © 1996-2020 Information Builders