This is a migrated thread and some comments may be shown as answers.

ReportBook, and parameters within each report

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 20 Jan 2010, 05:04 PM
Hello,

I added a reportbook to a report, and this book has 3 reports.  Can I add a report book to a report, or should I create a component as in the sample project, and have it inherit from ReportBook?  Or is there another preferred way?  I can't find much documentation on this, and the demo video says "coming soon", and the web demo comes back to me with a server error...

So I have a report with a key selected from a drop down.  I need to pass this param to each report, and in turn each report should bind its report via its needdatasource event.  I think I gathered that these parameters get merged and displayed from the values of the reports in the book.  What is a proper setup of the reportbook?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 20 Jan 2010, 06:32 PM
OK, I figured out the issues I was having; somehow some of those report parameters were invisible; I thought I set them to visible, but maybe not.  Anyway, setting them to visible is now getting it all to load OK.

I used the component approach by creating a component, swapping out the base class with ReportBook, and in both constructors (as the base implementation uses two), I add the reports there. It sucks in the parameter list from each report (which is also affected by the mergeable property), and once these are provided the report can be generated.
Tags
General Discussions
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Share this question
or