Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a recordset to a VFP Com Server from VB
Message
De
25/05/2001 12:01:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Passing a recordset to a VFP Com Server from VB
Divers
Thread ID:
00511588
Message ID:
00511588
Vues:
57
I have a com server written in VFP that employs VFPCOM to convert between cursors and recordsets.

My server method - getrecordset() - to return a recordset to the client works fine whether the client is written in VB or VFP.

The method -passrecordset()- that takes a recordset as a parameter fails when the com server runs in a VB client (see code snippet below).

*****
set myserver = createobject("myserver.myserver")
set rs = myserver.getrecordset
Call myserver.passrecordset( rs )
*****

I have checked the parameter in the VFP server passrecordset() method - it is an object but doesn't appear to be an adodb.recordset object, i.e. i cannot access any methods of the recordset object.

When the client is VFP I can access the recordset object no problem inside this method.

Any help with this problem would be greatly appreciated

Damien Byrne
Kaleida Ltd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform