I have experienced the same problem. The problem apparently has to do with the name table or some such. The solution is to use
LOCAL MyCursorName
(I don't know why this works, but I understand that it does.
Cheers,
Jim
>I have a loop that open/close a temporary free table. The "use" command even have an explicit alias name. After n loops, the table will be open with an invisible (empty?) alias name. When checking with "Data Session" window, I can find an work area with empty alias but dbf() returns the underlying file name.
>
>After simplify the loop so that it only open/close the table, I could not reproduce the problem. Now I need to introduce one line at a time to find the problem. It is taking me a long time, each test take about 2 hours before the problem occurs. I wonder if anyone have some ideas where the problem could be so that I can find the bug in a shorter time frame?
>
>Thanks in advance.
Jim Nelson
Newbury Park, CA