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