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 list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to