Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjMaintForm
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00101759
Message ID:
00102608
Views:
32
Enrique,

> To create Parent-Child relationship, I must specify value in cparentbizobj and cuniqueIdField properties in my Child Object, furthermore nrequerytype=1 to requery child object ever the parent change.>

>My question is very simple, I want to know if the child view must be parameterized?, or the relationship works equivalent in fox's environments.

By definition, the child view typically uses the parent's unique id in a view parameter.

>If it is parameterized, there something (property, method) for linking the parameter value to the parent object?

Check out the sample Project Manager application's ProjectsForm. Both the Contacts tab and Tasks tab contain business objects that are children of the parent business object on Page 1.

In the child business object's PostInitHook() method you will see code that is used to set their associated view parameters. Also check out the section "Specifying and Creating View Parameters" in the Mere Mortals Developer's Guide.

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