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.
I am on a team trying to create reports on multiple tabs in one template Excel spreadsheet. The data comes from multiple, joined Oracle tables. One tab is to contain a summary of the data on three other tabs. Does someone have an example of the code to populate an Excel spreadsheet with multiple tabs? Or can you just show the code to produce data on several tabs? I have not worked with the latest versions of WF that have this capability.
Thank you once again for the great help on this forum.
You can create a compound report in excel, use style sheet commands to change the titletext for each Tab. Don't have an example immediately handy but if someone doesn't beat me to it may post one later. My day is filled with an on-line demo from a software company for our student system conversion, so not much in the coding mode at the moment.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
you can do multiple tab excel by using compound reports.
-SET COMPOUND=ON
TABLE FILE <oracle table>
<summary report here>
ON TABLE PCHOLD FORMAT EXL2K OPEN
END
-RUN
TABLE FILE <oracle table>
<detail report on 2nd tab here>
ON TABLE PCHOLD FORMAT EXL2K
END
-RUN
...ETC
last TABLE FILE you do FORMAT EXL2K CLOSE
then -SET COMPOUND=OFF to turn off compound reporting
You can assign tab titles using TITLETEXT paramet on your CSS.
Hope this helps. Sorry, it doesn't touch on templates...
Compound reports with OPEN and CLOSE clauses doesnt work with Excel Templates. Mike, you can use this sample code as referance:
APP FI HLD_FIL_NM DISK tmplt1.mht -INCLUDE your_fex_1.fex ON TABLE HOLD AS HLD_FIL_NM FORMAT EXL2K TEMPLATE 'original_template_name' SHEETNUMBER 1 END -RUN
-INCLUDE your_fex_2.fex ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'tmplt1' SHEETNUMBER 2 END -RUN
You can repeat this sequence for how many reports you need.
I just want to thank each of you for taking the time to respond to my request. I passed this along to the developers. If we run into snags I will start a new thread. But just know you guys are just great!