>I asked for help yesterday on how to destroy a cursor. I got tons of replies (thanks!), however, I'm still in a pickle. I'm trying to destroy a cursor but whenever I do it also messes up my connection with other open tables on the same form:
>
>Just select the cursor then USE
>SELECT myCursor
>USE
>
>That was yesterdays suggestion...and it does destroy the cursor but then I can't access my current table.... but if I try and use that table... it says it's still in use..... I'm lost..
John,
The way VFP works, you only have DIRECT access to a single alias/work-area at a time. So once you issue the USE there is no directly accessible alias/work-area.
In order to directly access another alias/work-area, you have to SELECT that one first. There is an alternative - most commands have an IN < alias > clause and most functions have an < alias/work-area > argument.
Now the calibre of your questions strongly suggests that you are using the UT to learn VFP. I really really really suggest that you at least read through the "Using Visual Foxpro" sections of the Help.
good luck
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