Yes, you can. I would look into using another flush after your processing is finished. Instead of displaying a message use a JavaScript function to set the display attributes of the "Work in progress..." to none. Obviously you will need to slightly modify the first message.
Matthew -----Original Message----- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 9:39 AM To: [EMAIL PROTECTED] Subject: <cfflush The <cfflush just works great for what I need it for but.... I'm using the <cfflush to display "Work in progress..." while I'm executing a batch file with <cfexecute and then display the results from the program to screen. Is there a way to have the "Work in progress..." disappear once the results from the <cfexecute have appeared. Right now the progress text stays at the top of my page. <p align="center" style="Arial" size="+1"><font color="#ffffff">Work in progress...</font></p> <cfflush> <cfflush interval="1"> <cfexecute name="filename.bat" outputfile="output.rlog" timeOut="1000"> </cfexecute> <cffile action="READ" file="output.rlog" variable="results"> <table width="100%" cellpadding="6" cellspacing="0" border="0"> <tr align="center"> <td> <input type="button" value="Close" class="navlinks" onClick="self.document.open();"> </td> </tr> <tr align="center"> <td> <table cellpadding="6" cellspacing="0" border="0"> <tr> <td class="wdirlinks"> #replace(results,chr(10),"<br>","all")# </td> </tr> </table> </td> </tr> </table> ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
