Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance Issue
Message
 
To
23/08/2009 11:13:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01419605
Message ID:
01419973
Views:
87
>>>Yes
>>
>>Will indexseek("78113",.t.,"contacts", your_tag_name_on_custno) behave better?
>
>It should - the Locate prepares a bitmap of found records, expecting a do while found... continue... enddo loop. A Seek() doesn't prepare anything, it just retrieves a single record.

Sure. And as far as I know, indexseek() is the only approach that works with cdx index file, not with table itself; and this makes indexseek() the fastest among other methods. Still I guess that with 20000 records (as it was noted in the original post) "Locate" should not take sufficient time: something else is going on.
Previous
Reply
Map
View

Click here to load this message in the networking platform