Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursosAdapter dettached cursor not so dettached
Message
 
 
À
23/10/2003 17:07:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00841809
Message ID:
00841844
Vues:
24
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform