﻿<?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 / WinForms (How do I?)  / Unable to get Parent Child Relationship to work. / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 16:03:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Glad you found it :)</description><pubDate>Sun, 01 Jun 2008 08:59:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Ok, Got it.&lt;/P&gt;&lt;P&gt;In a nutshell, my applications has 3 forms and my parent relationship call was not at the highest form.&lt;/P&gt;&lt;P&gt;This is what I had.&lt;/P&gt;&lt;P&gt;Mainform&lt;/P&gt;&lt;P&gt;Contains a datagridview with a mainBO. From the Mainform, I have a childdialog calling the sub Entryform with the mainBO.&lt;/P&gt;&lt;P&gt;Entryform&lt;/P&gt;&lt;P&gt;This form contains the mainBO and childbo.&lt;/P&gt;&lt;P&gt;&lt;U&gt;I had the parentchild relationship established in the Entryform.&lt;/U&gt; &lt;/P&gt;&lt;P&gt;ChildEntryform&lt;/P&gt;&lt;P&gt;Contains the childbo &lt;/P&gt;&lt;P&gt;When I moved the childbo up to the Mainform and established the relationship there, all the relationships worked. &lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Sun, 01 Jun 2008 03:59:28 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Yeah, you are missing something really basic as this is not a complicated implementation....instead of going through a hundred forum posts out here, do one of two things, or both.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open one of the SF samples that shows how to use a relationship (CRM sample application, ChildFormDialog sample, etc).&lt;/LI&gt;&lt;LI&gt;Post a quick sample of your basic implementation on this thread and I will correct your problem (within the basic sample...not your application code) so you can see what you are missing....this is faster than going back and forth.&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Fri, 30 May 2008 22:26:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Did you include the instance of the child BO that is dropped on the form in the Form's add?  I.e. set the appropriate IncludeInForm(Add/Delete/Edit/Save/Undo/Navigate) properties?</description><pubDate>Fri, 30 May 2008 18:51:14 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Yes, &lt;/P&gt;&lt;P&gt;Now, is the relationship code executing based off of the parentbo editing state? I have a listview on the parent form which is the child of a parent form.   </description><pubDate>Fri, 30 May 2008 16:37:13 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>And on your parent form, for your ChildBO, you have set the ParentBusinessObject property?&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/7a94b8db-321c-4c12-8828-e120.jpg"&gt;</description><pubDate>Fri, 30 May 2008 16:31:04 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Yeah I dont get it?? &lt;/P&gt;&lt;P&gt;Here is my setup&lt;/P&gt;&lt;P&gt;BO&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/754b7899-3611-4019-aae3-b29f.gif"&gt;&lt;/P&gt;&lt;P&gt;DDT&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/250988fc-8d40-4b09-89d2-6df9.gif"&gt;</description><pubDate>Fri, 30 May 2008 15:32:22 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>I guess this is a case for Super Man then. He will soon be around. :hehe:</description><pubDate>Fri, 30 May 2008 15:16:27 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Yep</description><pubDate>Fri, 30 May 2008 15:05:16 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>Hi Michael.&lt;P&gt;Just checking, but you have set the  Primary and Foreign keys on the Child-Parent Relationship Editor of your Child BO, right?&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/dd7db4c2-85c4-4169-9f36-13ff.jpg"&gt;&lt;P&gt; &lt;P&gt;Also, have you set the ChildBO ParentBusinessObject property on your Child form?</description><pubDate>Fri, 30 May 2008 11:56:30 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>Unable to get Parent Child Relationship to work.</title><link>http://forum.strataframe.net/Topic16728-7-1.aspx</link><description>I cannot seem to get the relationship to work properly on add. When I add a record, the record does not receive the parent key value from the parent bo? &lt;/P&gt;&lt;P&gt;I think that I have covered everything&lt;/P&gt;&lt;P&gt;I have two tables &lt;/P&gt;&lt;P&gt;Parent Table&lt;/P&gt;&lt;P&gt;Child Table&lt;/P&gt;&lt;P&gt;I established the relationship in the DDT &lt;/P&gt;&lt;P&gt;Established to parentrelationship on the BO&lt;/P&gt;&lt;P&gt;Established the parent BO in the BO on the form.&lt;/P&gt;&lt;P&gt;Configured Childform.</description><pubDate>Fri, 30 May 2008 10:57:41 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item></channel></rss>