Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is SEEK command showing error?
Message
De
07/09/2004 15:41:14
 
 
À
07/09/2004 15:33:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00939863
Message ID:
00940074
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform