Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is SEEK command showing error?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00939863
Message ID:
00939912
Views:
14
Terry,

Why use SEEK command if there's SEEK() function?
IF SEEK(lcKey, "MyTable", lcKeyTag) 
  * Record found
ELSE
ENDIF
>In my grand scheme to NOT have to "SELECT cMyTableName", I applied VFP seek structures. Its been a while since I reviewed the SEEK syntax, and was pleasantly surprised to see some new features. But I am hving problems making them work.
>
>
>help shows the new (to me) features this way:
>seek ckey ORDER TAG tagname of CDXFileName in cTableName)
>
>So I applied this syntax:
>SEEK lcKey ORDER TAG lcKeyTag OF MyTable IN MyTable
>

>
>I get an error saying variable lcKeyTag not found. I put quotes and colons around it to no avail:-)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform