Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing ADO
Message
 
À
29/01/2001 03:41:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00469600
Message ID:
00470026
Vues:
33
Hi Peter..

I wanted to help clear up some confusion that may exist. You cannot subclass ADO classes such as a Recordset, Command, Connection, etc. Rather, you can create wrappers - which for all practical purposes achieves the same basic goals. Unless of course, you were looking for ways to override what would be inherited behaviors. In that case, true subclassing would allow that. Wrapper class allow you to encapsulate, simplify, protect, and provide pre/post processing.

< JVP >


>Hi All!
>
>Is it possible to subclass a ADO class in a .PRG in VFP6?
>
>I am trying to subclass ADODB.Connection and ADODB.RecordSet but have not succeded.
>
>TIA
>/Peter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform