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:
00237920
Views:
12
>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.

SEEK() is faster than SELECT/SET ORDER/SEEK
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform