Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek(expr) vs seek(expr,alias,index)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237915
Message ID:
00238012
Views:
17
Sam,

Also, check out the new indexseek() which can be faster than seek()

>Hey All,
>
>Just a small performance question about seek(). Is it faster to put the alias and the index in the seek call, or to constantly perform select aliases?
>
>IOW:
>do while (expr)
> seek
> set index to
> if seek()
> .....
> endif
>enddo
>
>or
>
>do while (expr)
> if seek(,alias,index)
> .....
> endif
>enddo
>
>Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform