Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SEEK vs SEEK()
Message
From
13/08/1998 11:29:54
John Baird
Coatesville, Pennsylvania, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SEEK vs SEEK()
Miscellaneous
Thread ID:
00126543
Message ID:
00126543
Views:
48
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.
Next
Reply
Map
View

Click here to load this message in the networking platform