Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with set skip on
Message
From
10/09/2007 08:12:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Grid with set skip on
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01253374
Message ID:
01253374
Views:
83
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.
Next
Reply
Map
View

Click here to load this message in the networking platform