set ParentBusinessObject failed using property sheet


Author
Message
Chan
Chan
Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I set my childform.myBO.ParentBusinessObject = childform.MasterBO using property sheet. However, it doesn't work. It hit error when save child record, complaint FK is not exist. It is same even though MasterBO.ChildAutoFilterOption has been set to MatchCurrentRow/None.

During debugging, I found that _ParentBusinessObject is nothing. I can see auto generated code in InitializeComponent() for this setting.

My current worksaround is set ParentBusinessObject in form_load programmatically.

Any ideas?

Thank you

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search