﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » BO to Child relationships</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 10 Jun 2026 20:36:15 GMT</lastBuildDate><ttl>20</ttl><item><title>BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4650.aspx</link><description>I have an interesting problem. I have two childBOs that will always have exactly one instance and expect them to be added along with the parent information in the form. Your examples show instances where one of more children exist, nice separate event allow the insertion of children. To be sure I have need of there as well, but first how would you recommend I proceed with the 1-to1 children?</description><pubDate>Mon, 20 Nov 2006 17:00:37 GMT</pubDate><dc:creator>Derrick Bell</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4687.aspx</link><description>Derrick,&lt;/P&gt;&lt;P&gt;This is a side note, but would it be possible for you to make it out here for the December training class?&amp;nbsp; I think it would dramatically speed your decision making and development process up.&amp;nbsp;</description><pubDate>Mon, 20 Nov 2006 17:00:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4685.aspx</link><description>What is the EditingState of the child business object after you call Add()?</description><pubDate>Mon, 20 Nov 2006 16:54:32 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4684.aspx</link><description>I had in the mean time turned on the form include options(I turned them all on) , but the the textbox that is bound to the column of the child BO still doesnt activate.</description><pubDate>Mon, 20 Nov 2006 16:53:18 GMT</pubDate><dc:creator>Derrick Bell</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4675.aspx</link><description>You can either capture the AfterAddNew event of the parent record and add a new child record:&lt;/P&gt;&lt;P&gt;[codesnippet]MyChild.Add()[/codesnippet]&lt;/P&gt;&lt;P&gt;Or you can use the IncludeInForm... settings on the form and the business object.&amp;nbsp; Read the help topic in the StrataFrame Help: Business Layer -&amp;gt; Configuring a Business Object -&amp;gt; Form Include Settings</description><pubDate>Mon, 20 Nov 2006 16:14:17 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4670.aspx</link><description>And no there is no data in the child yet.</description><pubDate>Mon, 20 Nov 2006 16:09:33 GMT</pubDate><dc:creator>Derrick Bell</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4667.aspx</link><description>Hmm yes it does. How do I call the add if the data in inline with the rest of my parent data?</description><pubDate>Mon, 20 Nov 2006 16:08:04 GMT</pubDate><dc:creator>Derrick Bell</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4665.aspx</link><description>[quote]The form now skips the single field I've bound to the childBO. Cn you please advise? [/quote]&lt;/P&gt;&lt;P&gt;Is there any data in the child BO?&amp;nbsp; WHen you say "skips the field" what do you mean?&amp;nbsp; When you create a new parent record you still have to call the Add() method on the child or populate it with data before any fields can be updated with the child BOs data.&amp;nbsp; Does that make sense?</description><pubDate>Mon, 20 Nov 2006 16:04:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4657.aspx</link><description>Hmmm.. I'll try again under a different tack. I added a linked child BO object by&amp;nbsp;using Child-parent Relationship editor and setting th primary keys. I then added the childBO to my maintenance form and updated its parent business object property. The form now skips the single field I've bound to the childBO. Cn you please advise?</description><pubDate>Mon, 20 Nov 2006 15:37:57 GMT</pubDate><dc:creator>Derrick Bell</dc:creator></item><item><title>RE: BO to Child relationships</title><link>http://forum.strataframe.net/FindPost4652.aspx</link><description>I'm having a problem trying to understand your question... perhaps you could rephrase it or expand on it a bit?&lt;/P&gt;&lt;P&gt;As for configuring a 1-to-1 relationship... you would do this the exact same way as you would with a standard child... configure the relationship and then specify the instance of the parent that is the parent business object of the child.</description><pubDate>Mon, 20 Nov 2006 14:08:04 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>