Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why would reports take a long time to display?
Message
De
30/04/2007 16:12:11
 
 
À
27/04/2007 15:13:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01064884
Message ID:
01221256
Vues:
15
Found it myself and unzipped it....Albert

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform