Hi Trent, I'm going to describe all forms used in application (based on example with forest - tree - limb...).
First maintenance form - Forest:
- primary business object is set to Forest and one textbox (ForestName) is included
- this form works fine
Second maintenance form - Tree:
- primary business object is set to Tree
- contains one textbox (TreeName) and one combo (with PopulationType set to BusinessObject and PopulationDataSourceSettings set to method that select all forests)
- this form works fine too
Third maintenance form - Limb:
- PrimaryBusinessObject is set to Limb
- contains one textbox (LimbName) and one combo (with PopulationType set to BusinessObject and PopulationDataSourceSettings set to method that select all trees)
- this form works fine - until I try to modify as described below.
Now I want to modify the third form to include one more combo that will allow user to choice the forest and after that filter records in combo with Trees (so it contain only trees from selected forest). However I do not know, how to do it - I tried all of the following:
- include business objects Forest and Tree to the form and set ParentBusinessObject property approprietaly
- set IncludeInFormEditType to AllBusinessObject or DetermineByBusinessObject
- change the PopulationDataSourceSettings method of Tree combo to FillByParent
But nothing has worked - several errors has been produced :-(
I'm new to StrataFrame so may be that my approach is not good but I do not know any better way.
Jiri