Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child BizObj and Cancel
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Child BizObj and Cancel
Miscellaneous
Thread ID:
00439270
Message ID:
00439270
Views:
48
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
Map
View

Click here to load this message in the networking platform