﻿<?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?)  » BusinessObjectLayer.ParentBusinessObject become NULL in Field_FieldName_Descriptor</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:01:45 GMT</lastBuildDate><ttl>20</ttl><item><title>BusinessObjectLayer.ParentBusinessObject become NULL in Field_FieldName_Descriptor</title><link>http://forum.strataframe.net/FindPost13572.aspx</link><description>Hi,&lt;br&gt;
I faced problem that BO.ParentBusinessObject become null in BO.FieldPropertyChanged event. After some debugging, I found that, BO.ParentBusinessObject is already become null in Field_FieldName_Descriptor.SetValue(). Once I leave this method, the ParentBusinessObject "came back".&lt;br&gt;
&lt;br&gt;
Any ideas? Anyone able to access ParentBusinessObject in FieldPropertyChanged without problem?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Mon, 21 Jan 2008 10:00:39 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: BusinessObjectLayer.ParentBusinessObject become NULL in Field_FieldName_Descriptor</title><link>http://forum.strataframe.net/FindPost13594.aspx</link><description>For business objects to work properly with a grid, we had to create the BusinessBindingSource, which creates a new instance of the business object for each record that is accessed through the BusinessBindingSource... these business objects all share a common DataTable internally (so they all look like they're the same business object).&amp;nbsp; Most likely, when you see a reference to ParentBusinessObject that is empty, the business object you are referencing is one that has been created by the BusinessBindingSource.&amp;nbsp; So, I think we simply need to set the ParentBusinessObject property on each business object that is created by the BusinessBindingSource... and I don't think it's doing that right now.</description><pubDate>Mon, 21 Jan 2008 10:00:39 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: BusinessObjectLayer.ParentBusinessObject become NULL in Field_FieldName_Descriptor</title><link>http://forum.strataframe.net/FindPost13591.aspx</link><description>Yes.</description><pubDate>Mon, 21 Jan 2008 09:08:52 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: BusinessObjectLayer.ParentBusinessObject become NULL in Field_FieldName_Descriptor</title><link>http://forum.strataframe.net/FindPost13588.aspx</link><description>Are you using the business object within a grid with the BusinessBindingSource?</description><pubDate>Mon, 21 Jan 2008 08:53:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>