Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with set skip on
Message
From
10/09/2007 15:03:41
 
 
To
10/09/2007 08:12:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01253374
Message ID:
01253517
Views:
19
>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 sophisticated grid skip to new record take 10-15 seconds on VFP9 and only 0,5 seconds on VFP8...
>Remark: This test only is illustrated the problem.

Does Message #972627 apply?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform