Craig is right. I have a free CA VCX Builder including all source code. The PRG file has extensive comments at the beginning that document the use of the builder and the VCX that is creates for you. It will create a VCX with a CA base class then a CA subclass of that for every table in a VFP DBC, SQL Server database or Oracle schema.
You can look through the builder code to see how I did it [which is part of your question], then look at the classes created by the builder to see the code added to all the methods.
http://www.mctweedle.com/downloads/CABuilder.zip>Hi,
>I have a CursorAdapterX object that is based on my CAclass.
>I need to get the Init code that is inherited from my CAclass.
>If I use the CursorAdapterX.ReadMethod("Init") it returns the code of CursorAdapterX object, how can I get the Init code from CAClass?
>
>Note: I working on a builder and the objects are in Design Time.
>
>Thanks.
>Ricardo
Mark McCasland
Midlothian, TX USA