Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can CursorAdapter be disconnected?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Can CursorAdapter be disconnected?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01471214
Message ID:
01471214
Views:
132
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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform