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
Title:
Seek(expr) vs seek(expr,alias,index)
Miscellaneous
Thread ID:
00237915
Message ID:
00237915
Views:
48
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.
If they have you asking the wrong questions,
they don't have to worry about the answers.
-proverbs for paranoids #3
Next
Reply
Map
View

Click here to load this message in the networking platform