Hi,
I realize this thread is tres old but wanted to try this out....could not find the source files though for the "Report Output" project anyhere in my installation. Is this something that ships optionally or I have to download from MSFT? I wanted to insert the code in the DoStatus() method as per below.
Thanks,
Albert Gostick
>Hi
>There is a solution which preserves both speed and user feedback.
>You need to modify updatelistener class from ReportOutput application and add a new property nLastPercent, default 0
>
>Then , in DoStatus() method, add lines as below :
>
>IF (NOT (THIS.QuietMode or ;
> (THIS.IsRunning AND THIS.CommandClauses.NoDialog)))
>
> IF this.nLastPercent <> CEILING(this.percentDone*100)
> this.nlastpercent = CEILING(this.percentDone*100)
> ELSE
> RETURN
> ENDIF
>...
>
>
>What I've noticed when I designed my report preview with search was that the DoStatus() method is called very often (I believe that is called for every record in source alias) and the PercentDone property doesn't change to much from a call to the other. I think it represents total_records/processed/100. So I added a check, to update thermometer only for integer percents.
>
>The speed is very good, comparable with NODIALOG clause