General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Hi Kevin,
>Did you check out the MM .NET Help topic "ForeignParentKeyField: Child Object Foreign Parent Key Field"? If you have set the ParentForeignKeyField property in the child business object but the value is still not getting updated, I recommend setting a breakpoint in mmBusinessObject.PopulateForeignParentKeyField() to see if this code is being executed.
>
Need to restate this from previous post, _ForeignParentKeyField is populated but _ParentKeyValue is not:
Stepping through from mmBusinessObject.PopulateForeignParentKeyField(), it does execute but _FParentKeyValue = null so it fails here :)
protected virtual void PopulateForeignParentKeyField()
{
if (this.ForeignParentKeyField != null && this.ParentKeyValue != null)
{
this.PopulateKeyField(this.ForeignParentKeyField, this.ParentKeyValue);
}
}
So, I'm missing where _ParentKeyValue gets populated. I see where it should be populated with the debugger but the value is always undefined. Any insight?
Thanks,
Mike
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only