Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is SEEK command showing error?
Message
From
07/09/2004 15:41:14
 
 
To
07/09/2004 15:33:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00939863
Message ID:
00940074
Views:
19
Ah. It just hit me where the problem is. I should not have said that you have to set the order first. I should have said that you can easily set the order first.

Alan

>Alan,
>
>The third parameter of SEEK() is for the index tag, so there is no need to SET ORDER first. You *can* SET ORDER if you have a particular situation (such as DESCENDING)...but for normal situations, there is no need.
>
>>
>>1. Set order to tag someindex in 'sometable'
>>2. ? Seek(cSeekValue, 'sometable')
>>
>>If you don't do step 1, you get an error in step 2. So, you can just as easily do step 1 as:
>>
>>Set Order to tag someindex in 'sometable' DESC.
>>
>>Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform