>>>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
>
>Thank you.
Looks like CursorDetach is a better option - I didn't know.
If it's not broken, fix it until it is.
My Blog