Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does Use Statement kill the select cursor??
Message
From
07/04/1998 21:32:10
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090090
Message ID:
00090323
Views:
23
>>Either in command window, or in form.
>>
>>It seem release the cursor alias after I use 'Use' to add table?
>>Is it a bug or what thing I did wrong?!
>
>USE by default opens the new table in the current working area; if there is a cursor in use in that area, it will close that cursor, and as a result, the content is lost. You can either USE...IN 0, or SELECT 0, before opening a new table to avoid this behavior.

Thanks both of you. I forgot to use 'IN 0' in 'USE-statement'!

But I gain knowledge on the behaviour of 'USE' command!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform