Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child BizObj and Cancel
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Child BizObj and Cancel
Divers
Thread ID:
00439270
Message ID:
00439270
Vues:
50
If you have a Child BizObj and the Parent BizObj changes are cancelled should any changes to the Child BizObj also be cancelled when the Cancel child on cancel parent flag is set (lCancelChildOnCancelParent property on child BizObj is .T.)? What should happen if no changes to the primary (parent), add a child (Clicked OK on the CListObjEditForm), then click cancel the primary? In the last scenario, the child record remains even though cancel was clicked.

It seems to me the child record should not have been added to the underlying table. True? Have I missed something?

3 Pages

Page 1 is the ClistOneToMany Object with a primary biz obj
cUniqueIdField is set to a unique value
Page 2 is the edit of the Primary BizObj data.
Page 3 is the CListObjEdit control for child of the primary
Built-In BizObj disabled
Requery if Parent Changes
ParentObj is set the Primary BizObj
Cancel Child on Cancel Parent is set
Save Child on Save Parent is set.


Thanks for any help and insights
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform