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 have a focexec that run a set of reports. This focexec is run via a launch page that supplies the parameters to the set of reports which produce an Excel Compound report. There is a frame in the launch page where output can be displayed. The output I want displayed would provide info as each report is being processed. The code is shown below. What happens is the messages are all displayed after the last focexec has finished executing. How can I get each message to display when each focexec executes?
-HTMLFORM BEGIN
<p>
<font color="navy">
Starting processing of Empdata Report (report 1 of 7)...
</font>
</p>
-HTMLFORM END
-RUN
-SET &ECHO=ALL;
-INCLUDE REPORT_1
-RUN
-HTMLFORM BEGIN
<p>
<font color="navy">
Finished processing of Empdata Report.
</font>
</p>
<br />
<div style="WIDTH: 290px; FONT-SIZE: 1pt; background-color:purple; POSITION: absolute; LEFT: 120px"" ></div>
<br />
<br />
<p>
<font color="navy">
Starting processing of Car Report (report 2 of 7)...
</font>
</p>
-HTMLFORM END
-INCLUDE REPORT_2
-RUN
-HTMLFORM BEGIN
<p>
<font color="navy">
Finished processing of Car Report.
</font>
</p>
<br />
<div style="WIDTH: 290px; FONT-SIZE: 1pt; background-color:purple; POSITION: absolute; LEFT: 120px"" ></div>
<br />
<br />
<p>
<font color="navy">
Starting processing of Training Report (report 3 of 7)...
</p>
-HTMLFORM END
.
.
.
Thank you,
JohnThis 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, 2006
Computix, your first statement is correct,however the idea of using JavaScript will not work.
Because WebFOCUS closes the session every time it returns something to the browser there is no guarantee that you will connect to the same agent, in any case it will have deleted the work files and previous parts of the compound Excel document being created.
Using the cache will not work because even though that will allow you to keep any work files the Excel component will not be kept.
Additionally resubmitting using an onLoad event will refresh the frame so any messages will disappear.
JG, thats right. It will be almost impossible to do that with compound reports.
Though you might be able to export all the HOLD-Files to a physical directory (APP HOLD and APP HOLDMAST afaik) and use them again in the following request.
What I had in mind was not a form using submit but an XMLhttp-Request-Object. It allows you to call a URL from Javascript without submitting or refreshing.
But the question remains wether it is worth the effort or not. ;-)
WF 7.6.6 (MRE,BID, DevStudio, partly RC) on Windows 2003 /Apache/Tomcat Output: HTML,Excel,PDF,PPT Adapters: SQL Server, DB2, Oracle