Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a recordset to a VFP Com Server from VB
Message
De
29/05/2001 04:50:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00511588
Message ID:
00512095
Vues:
13
Thanks Vlad

the recordset that is returned from my server has these propreties except that the CursorLocation property is
CursorLocation = adUseClientBatch
The object appears to be passed back to my com server but VB throws up the following error when I try to access the recordcount property for the recordset

"OLE error code 0x80020006: Unknown name"

the code in the com server procedure is:

PROCEDURE passrecordset
LPARAMETERS rs
nCnt = rs.recordcount
.....

TYPE("rs") returns "O"
but TYPE("rs.recordcount") returns "U"

Any more thoughts?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform