Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A new trouble with Doug's Sample of N-Tier
Message
From
09/09/2001 23:41:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
A new trouble with Doug's Sample of N-Tier
Miscellaneous
Thread ID:
00554521
Message ID:
00554521
Views:
67
Hi, Everybody!

I'm experimenting a new trouble with Doug's sample of N-Tier published on CoDe Magazine.

If I instantiate my business class as a VFP class, my RecordSet (filled by a GetCustomerByID method), is writeable... but, if I instatiate it as a COM object, in the following excerpt of code (of dataclass::GetRecordSet method)

toRS.ActiveConnection = .oConnection

I got the following error:

OLE IDispatch exception code 0 from ADODB.Recordset: Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another...


any help?
Claudio Lassala
Next
Reply
Map
View

Click here to load this message in the networking platform