Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance Issue
Message
 
À
23/08/2009 11:13:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01419605
Message ID:
01419973
Vues:
86
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform