Focal Point
'Please wait.....' question

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7081057331/m/4647005126

June 21, 2012, 10:49 AM
djackson
'Please wait.....' question
Hi,
I've researched focal point for the 'please wait' issue.. am trying the redirect solution but having a bit of a problem. I'm loading the 'wait' fex (with the redirect url) into the frame so the user sees the 'please wait' message before the data loads. The 'wait' message does briefly appear in the frame, but then I'm getting the following error:
0 ERROR AT OR NEAR LINE 10 IN PROCEDURE car_launch
(FOC015) THE TEST VALUE IS LONGER THAN THE FIELD FORMAT LENGTH:
BYPASSING TO END OF COMMAND
(FOC009) INCOMPLETE REQUEST STATEMENT




-HTMLFORM BEGIN
<html>
<head>
<META HTTP-EQUIV="Refresh"
CONTENT="2 ;
URL=http://focus2:8080/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&|IBIC_server=EDASERVE&|IBIWF_msgviewer=OFF&|IBIAPP_app=car_launch&|&|IBIMR_drill=X,djackson/djackson.htm&|IBIF_ex=car_launch&|CLICKED_ON=&|COUNTRY=&COUNTRY">
</head>
<div ID="waitDiv" style="position:absolute;left:280;top:150;">
<center>
<table border=4 cellpadding=1 cellspacing=1 width="200"><tr><td>
<table cellpadding=1 cellspacing=1 border=1 width="100%"><tr><td>
<center><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Report is loading.......</font>
</center>
</td>
</tr>
</table>
</td></tr>
</table>
</center>
</div>
</body>
</html>
-HTMLFORM END


thanks,
Donna


Dev Studio 8.1.0.4, App Studio 8.1.5m, Reporting Server 8.1.4, InfoAssist, Active Technologies, Windows 2003 Server, Windows7
I'm sure you'll get several alternatives. I add a javascript function in the onload section:
  
<SCRIPT id=clientEventHandlersJS type=text/javascript>
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
}
 
function showRunning() {
window["iframe1"].document.body.innerHTML = "<br><br><b>Running, please wait...</b>";
}
</SCRIPT>


and then add it to the form's onsubmit:
onsubmit="showRunning();OnExecute(this);return false;



WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
The error has nothing to do with the Wait message; in your focexec, car_launch, you have an error at line 10. Put your focexec code between the </> code tags...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
Thanks everyone for helping to answer this post. These types of questions need to be posted to the WebFOCUS Forum.

Have a great day.

Sincerely,

Kathleen Butler
Information Builders
quote:
WebFOCUS Forum.

hmmmmm. Can you put a link to that FORUM here? I thought this kind of post is exactly what Focal Point was for. Please clarify. Thanks!


WebFOCUS 8.1.05 Windows 7, all output
Link to the 'WebFOCUS/FOCUS Forum on Focal Point' forum: http://forums.informationbuild...s/a/frm/f/7971057331

This is 'Rules, Regulations, and FAQs' forum instead...


WebFOCUS 8206
Windows 7, 10
HTML, PDF, Excel, Active Reports