Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK vs SEEK()
Message
De
13/08/1998 11:35:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/08/1998 11:29:54
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00126543
Message ID:
00126549
Vues:
23
>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.
>
>
Try including the alias in found(). It returns for current workarea not seek.
? found("category")
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform