General information
Category:
The Mere Mortals Framework
Title:
Child BizObj and Cancel
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only