Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent Child GrandChild using cListObjEdit
Message
 
To
14/10/1999 09:27:12
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00276279
Message ID:
00276403
Views:
24
Rex,

>I have 3 business objects in a Parent Child GrandChild relation. I am using a cListObjEdit control to show the child table linked to a ListObjEditForm. On the ListObjEditForm I have a pageframe with Page 1 editing the child record and another cListObjEdit on Page2 to show the grandchild information.
>
>How do I relate the business objects across forms?

If you want to relate business objects across forms, you need to register the child business object with the parent. This means you'll need to pass the parent bizobj as a reference to the ListObjEditForm (if it's not already), and in the ListObjEditForm call the parent business object as follows:

oParentBizObj.RegisterChildBizObj(MyChildBizObj)

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform