Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing ADO
Message
 
 
To
29/01/2001 03:41:48
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00469600
Message ID:
00470026
Views:
35
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
Previous
Reply
Map
View

Click here to load this message in the networking platform