Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor problem # 2
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748797
Message ID:
00748806
Views:
16
>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
Map
View

Click here to load this message in the networking platform