Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why VFP9 grid with
Message
De
10/09/2007 02:21:17
 
 
À
10/09/2007 02:03:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01253335
Message ID:
01253336
Vues:
20
>My form with grid on table with "set skip on" work on VFP9 slower? than on VFP8. The code
>
>local lnStart, lnRecords
>m.lnRecord=0
>go top
>lnStart=seconds()
>scan all
> thisform.grid1.Refresh()
> m.lnRecords=m.lnRecords+1
>endscan
>wait window "Time elapsed: "+str(seconds()-m.lnStart,10,3)+". Records:"+str(m.lnRecords)
>
>give result:
>Time elapsed: 1,375 Records: 59 (VFP8)
>Time elapsed: 9,406 Records: 59 (VFP9 shared (files is opened by another users))
>Time elapsed: 1,503 Records: 59 (VFP9 single opened file)
>
>Why VFP9 is so slower VFP8??? With sofisticated grid skip to new record take 10-15 seconds on VFP9 and only 0,5 seconds on VFP8...

Why do you refresh the grid for every record????
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform