Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A new trouble with Doug's Sample of N-Tier
Message
De
09/09/2001 23:41:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
A new trouble with Doug's Sample of N-Tier
Divers
Thread ID:
00554521
Message ID:
00554521
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform