Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form does not release
Message
 
 
À
15/01/2003 05:24:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00740845
Message ID:
00741937
Vues:
23
Ernest,

It takes the listview that long to get rid of all of it's internal objects. You might want to see if the listview has a Clear() method to make it destruct faster.

Honestly though for 16,000 rows I think I'd use a native VFP grid instead.

>You may find this quite funny. I decided that I will clean up the code as Jos Pols suggested correctly with - "put your WITH...ENDWITH statement outside of your SCAN...ENDSCAN loop" for speed improvement. I ran the applications and now the form releases but there is a delay in the release, depending on the number of records that were populated. With 1000 records, a couple of seconds and with 16000 records, about 17 seconds (unacceptable). With your suggestions above the results were the same. What's this delay?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform