Me, I've always been a slave to syntax rules. Now if I could only learn to type...
Alan
>Hmmm. I always operated with the internal 'rule of thumb' that "Commands" didn't need quotation marks for clauses unless some literal value was being specified.
>
>I guess I have to change that one. Drat!... another one bites the dust.
>
>cheers
>
>>I assume 'mytable' is the name of the table and not a variable holding the name of the table. Try putting quotes around 'MyTable'. The syntax says
cTableName not
TableName>>
>>
SEEK lcKey ORDER TAG lcKeyTag OF MyTable IN "MyTable"
>>
>>Alan
>>
>>
>>
>>>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:-) Any help appreciated!