Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Child Object Records
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00963051
Message ID:
00963110
Views:
9
Wendell,

If set correctly, the child can automatically have a new record created when the parent adds a new. Just make sure the child has it's lNewChildOnNewParent property set. No switching around of the primary bizobj is done. If something isn't happening then make sure you have all the appropriate DODEFAULTs in any methods that you may have overridden on the parent or child bizobj. You can always put a SET STEP in the NEW method of the parent bizobj (making sure you call a DODEFAULT, of course) and step through the code to see what is going on.

HTH

-Dan

>I have set up a child biz object relationship that should receive a new child record on new parent message but, I don't see the new child record being created when I add a new parent. Will the framework automatically switch the child object to the primary biz object so it can add the record and then set the primary biz object back to the one that called the child? Maybe I don't understand the process.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform