Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two identical kbizobj in one form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00110379
Message ID:
00110459
Vues:
19
Enrique,

> I have a kbizobjmainform form, a need select records for a field's value contained in a combo list. But this same list is used in the 'Data Entry' Page. Will I have problems?, I have defined a kbizobj that contain a combo list, can I use the same kbizobj with combo list? or Do I need create another identical kbizobj but with diferent dataevironment?>

Although different business objects have the responsibility of loading / unloading different cursors, all cursors are loaded into a single data session of the form. This means that once the business object has loaded the cursor, it can be used by any UI control or method on the form.

By your description, it sounds as if you have the combobox within the business object container. If it is, I strongly recommend against it. You should drop your business objects on the form separately from your user interface controls. It allows you to reuse the business object on other forms in your application, and makes the transition to true three-tier architectures much easier.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform