CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Posts
    3

    Replicate Subreport based on Parameter

    I need to replicate a sub report (60 lines of copy) based on a parameter.
    When the Extra Pages parameter is greater than 1 then print the sub report.
    the sub report is not based on a table. any thoughts on how to pull this off?

  2. #2
    Join Date
    Apr 2008
    Location
    Pittsburgh
    Posts
    103

    Re: Replicate Subreport based on Parameter

    Need more information about the report to give an answer.

  3. #3
    Join Date
    Mar 2010
    Posts
    3

    Re: Replicate Subreport based on Parameter

    Parameter : Extra Pages (Number)
    User enters the number of extra pages they want to print.
    It would be passed to a sub report that has a grid layout in the detail section
    and is not linked to an data source.
    If the user wants 2 extra pages the sub report would then print the detail section twice

  4. #4
    Join Date
    Apr 2008
    Location
    Pittsburgh
    Posts
    103

    Re: Replicate Subreport based on Parameter

    Now I think I'm following. I don't know if this can be done, at least not directly in CR. Maybe using VB or something else, but I can't help you there, sorry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured