John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
John,
I wonder if it might be getting "confused" by the (somewhat) extraneous "ORDER" word in there? What do you get if you leave out "ORDER"?
Good luck,
Jim N
>Can anyone tell me why the command:
>
>SEEK lcSrchVal ORDER TAG catindex IN category
>
>only works in the following example when the category table is the current alias? All aliases are cursors.
>
>
>
>
>SELECT CATEGORY
>SET ORDER TO catindex
>
>SELECT product
>lcSrchVal = UPPER(product.comm_code)
>
>**-- Product current table
>?SEEK(lcSrchVal,'category','catindex') && .t.
>
>SEEK lcSrchVal ORDER TAG catindex IN category
>?found() && .f.
>
>**-- Category Current Table
>SELE category
>SEEK lcSrchVal ORDER TAG catindex IN category
>?FOUND() && .t.
>
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement