Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a recordset to a VFP Com Server from VB
Message
From
29/05/2001 04:50:13
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00511588
Message ID:
00512095
Views:
12
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform