ReportBook, and parameters within each report

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 20 Jan 2010 Link to this post

    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.
  2. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 20 Jan 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top