Can a parent BO have two child BO's on the same form and be populated using the functions of Strataframe?
Sure, I setup one up the other day that had 8-10...with a lot of other foreign keys as well...so this is totally doable.
The ChildAutoFilterOption property of the Customer BO is set to "MatchCurrentRow."
This could be your problem...using this in this scenario could come back and bite you. Turn this off, then on the ListView, I assume you are using the CopyDataFrom method and then providing the BO and clone type on the ListPopulating event. Before you set the e.Parameters(), set the filter:
ListPopulating Event
MyChildBO.Filter = "ForeignKey = " & ParentBO.PrimaryKey.ToString()
e.Parameters(0).Value = MyChildBO
e.Parameters(1).Value = MicroFOur.StrataFrame.Business.BusinessCloneType.ClearAndFillFromDefaultView
Then BE SURE TO CLEAR THE FILTER in the AfterRequery event:
AfterRequery Event
MyChildBO.Filter = ""
Doing this is far safer than leaving a filter on all of the time which can produce a lot of other side-effects (i.e. add a new record and rows change, etc). Above would be the recommended way to setup this type of environment.