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.
If I run an equivalent of your code then I do not get two browser windows open, I only get the first Excel workbook. However, that may not be important.
Do you need two outputs from RC? If so set up separate tasks for each.
One other method of getting two reports on the same browser without merging, is to use a method posted in the Forum quite a while ago - BYTOC with CGIVARS. The code is simple to apply to your example -
You will still get the "same file name" message (even with DHagan's fix) as they are run within the same agent process, but it does provide a nice output.
This would also make a good alternative for those report writers out there who want to be able to provide multiple reports within the same frame set-up (this uses frames but you don't have to code them !!).
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, 2004
And what about a compound excel report? Would that be a solution for you? In that case you could have one excel sheet with two worksheets, so you'd only have 1 excel file.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
The client wants separate spreadsheets and if possible with different names, so I think at the end the RC solution will be the best and I will try if I can use the burst option. The field "COUNTRY" will be the burst value.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006