>>>>Try the USE command by itself. This should hopefully close any table that is opened. Let me know if it works.
>>>>
>>>
>>>Ravi,
>>>This will close any table open in the current work area. It does not affect other work areas nor does it affect other datasessions.
>>
>>Thanks Larry. Would I use CLOSE DATEBASE ALL? What if I did not have a database, but just free tables?
>>
>>Appreciate your advice.
>>
>>- Ravi
>
>I am new to VFP but in other xbase languages we had something like this
>
>nArea = select(0) && Get the next available work area number
>for i = 1 to (nArea -1) && -1 because we did not open anything in nArea
> select(i) && select that workarea
> use && Close the workarea
>endfor
>
>Hope this helps you think of something you could use.
Thanks so much Cecil. apprciate your input.
- Ravi
- Ravi
True greatness consists in being great in little things.
- Charles Simmons