Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on using SEEK.
Message
De
03/10/2002 10:15:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/10/2002 09:36:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00707286
Message ID:
00707312
Vues:
24
>I get the following error:
>
>"SEEK (lcDateSet) ORDER TAG 'dateset' OF 'tinspset' IN 'tinspset'"
>Expression evaluator failed.
>
>I have a table named tinspect.dbf inside a dbc
>it has a corresponding tinspect.cdx
>I have a candidate index on that table named: dateset
>
>here is my exact code:
>LOCAL lcDateSet
>lcDateSet=ALLTRIM(this.getvalue())+'.'+ALLTRIM(ttool.ftoolset)
>
>SEEK (lcDateSet) ORDER TAG 'dateset' OF 'tinspset' IN 'tinspset'
>
>thisform.requery()
>***********end of code
>
>lcDateset evaluates to '10/01/2002.001.2' which should equal one of the index values.

Steve,
It's the parentheses as Ed said. In addtion to it I generally use this easier way :

SEEK(lcDateSet, 'tinspset','dateset')
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
Répondre
Fil
Voir

Click here to load this message in the networking platform