Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Including Records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00890620
Message ID:
00890648
Vues:
19
Jose,

>Hi, let me try to explain my problem. Most of my forms are based on the CBizObjMaintenanceForm Class. For each Form, I´ve created 2 Views: One for the Grid (Non Updatable) with only the Fields that are shown in the Grid and the other with all the Fields and Updatable.
>I created also 2 Biz Objects, GridBizObj and UpdateBizObj and GridBizObj is the Parent of UpdateBizObj. Everything is working fine, except Inclusion of Records. After clicking the "New" button, my Updatable View is empty and all the controls are disabled.

If your New button is calling the form-level New() method, the method call to create a new record is going to the primary business object...is your GridBizObj the form's primary business object? If so, you can either have your button call the child object directly, or dynamically switch the primary business object to your UpdateBizObj.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform