Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why DE class opens only the first CA?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00892892
Message ID:
00894091
Vues:
9
>I build a DE class with several CA in it. The DE is based on ADO DataSourceType. All ca is based on DE DataSource. But when I create form and put that DE class in it after I run it, Only the first (by creation) CA is open, all others are closed. Why?
>
>P.S. DE AutoOpenTables = .t.
>
>I run a test & when the form loads CursorFill Method of every CA is invoked.

In addition to what Doug replied, you can use my free CA VCX Builder to create a VCX with sub-classed CAs for all your tables. These can use ADO where you do not have to deal with the ADO connection objects for every instance. The source code is provided and extensive comments are near the beginning of the CABuilder PRG file. Just click the FoxPro Tools link at http://www.mctweedle.com
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform