I probably should have been more descriptive from the beginning, sorry:
Our data is based on a recursive relationship that builds a tree. Only the leaves of the tree have project types associated with them, not the branches. Leaves can have more than one project type.
There are several other things associated with the leaves as well - but I am leaving them out for simplicity purposes. The complexity of this tree is why I am not using groups, and have flattend out the tree structure for the report.
I filter out the leaves of the tree before creating the tree structure itself, which is why the project type parameter must be located in the command object.
Then in the main report, I list the project types. So I need to pass in the current project type of the main report into the parameter that is used in the command object of the subreport.
The result should look something like this:
Project Type A
Tree Value 1
Tree Value 2
Tree Value 3
Tree Value 4
Tree Value 5
Tree Value 6
Tree Value 7
Tree Value 8
Tree Value 9
Tree Value 10
Tree Value 11
Project Type B
Tree Value 1
Tree Value 2
Tree Value 3
Tree Value 4
Tree Value 5
Tree Value 6
Tree Value 7
Tree Value 8
Tree Value 9
I have a parameter to let the user choose which project types they want to show - I cannot simply pass that to the subreport because the tree would display with all values for all of the project types selected, not just one project type at a time.
i agree that the parameters created in the database expert command object 'should be' listed in the subreport link section - but they are not. so how do i link them?
Thanks a ton,
jayme