Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can CursorAdapter be disconnected?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01471214
Message ID:
01471216
Views:
64
>Hi,
>
>As I try different approaches with a CursorAdapter I learn that once the CursorAdapter goes out of scope (say it is referenced to a local variable and code returns from the function where it is created), the cursor created with .CursorFill() is lost too. Is it possible not to lose the cursor if the CursorAdapter is out of scope? That is, if I need the cursor for view only and don't care about updating and making any changes to the table(s) on which the cursor is based, can I destroy the CA and keep the cursor?
>
>TIA.

select * from (loCA.Alias) into cursor csrMyNewAlias
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform