General information
Category:
Coding, syntax & commands
Cetin,
That would be it! Nice catch.
Cheers,
Jim N
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only