>>Yep, I've seen it and had it happen to me. But the reason was that the command:
>>
>>SET ORDER TO SOMETAG
>>
>>didn't generate the error it should have. The error should be "Index tag does not exist". However, you'll the "unknown variable" with compound index files if the tag doesn't exist. In each case, I forgot to create it. It was me, not FoxPro. :-)
>
>
>Come to think of it, in this case it isn't even a table. It's a cursor. The same code, run on two different machines, generating a cursor and creating an index on it. On one it works, on the other it doesn't.
>
It might be a point here, because VFP (when leaving to its own) can either create cursor on disk, or in RAM. I guess that RAM cursor can pose some problem for using tags.
Edward Pikman
Independent Consultant