Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursosAdapter dettached cursor not so dettached
Message
From
23/10/2003 17:10:40
 
 
To
23/10/2003 17:07:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841809
Message ID:
00841844
Views:
23
Hi, Aleksey

>Your assumptions were wrong. Once detached, the cursor is independent from the CursorAdapter object, but not from its data source. You can use CURSORGETPROP("ADORecordset") to get the Recordset associated with the cursor even if it is detached from the CursorAdapter object.

I assumed that my assumption was wrong. 8-)

>The error is reported because cursor is not fetched completely when connection is closed, more specifically, it is reported during an attempt to fetch more records. To avoid this problem, execute GO BOTTOM before closing connection or use oCA.FetchSize = -1 when you call CursorFill.

I also assumed that you'll give me the best answer about that.

In that, I was totally right.

Thanks A LOT, Aleksey.
Previous
Reply
Map
View

Click here to load this message in the networking platform