Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I use two CAs on the same form?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can I use two CAs on the same form?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01106677
Message ID:
01106677
Vues:
55
Hi everybody,

I have CA class for an Address table that I created using Mark McCasland builder. Now I need to use this class (two instances of it, I assume) on two different pages of the pageframe. What would be my best solution:

1) Use the same object (class instance) for both pages and move it to the form instead of the pages. Requery CA every time I switch between pages?

2) Create a separate complete copy of the class (and BO class) and use an instance of a separate CA and BO class for the second page? This would mean code duplication... :(

More ideas? I'm using MereMortals framework...
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform