Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on using SEEK.
Message
From
03/10/2002 10:15:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/10/2002 09:36:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00707286
Message ID:
00707312
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform