blank page when subreport invisible

  • Hi,

    I have a report in ssrs 2005 contains a Main list which has two other lists inside it. the first list has letters to be printed out for given search criteria and second list has another subreport in it which is supposed to show receipt for every letter in first list.

    so its like

    Main List-->List A(letter),List B(subreport for receipt)

    The user has option to run only letter and not see receipt. In such case the Visibility for List B is set to Hidden absed on an IIF expression. List B is placed at end of Page after List A.

    In this case when it is sent to printer it there is a blank page after every Letter which seems like somehow the report server is finding empty space when List B is set invisible and not consuming up the empty space.

    List A -PagebreakAtStart-true,atEnd-False

    List B-PagebreakAtEnd-true,atStart-false

    Tried all layout ,size settings still same issue.

    Any suggestions where I should be looking at?

    Thanks,

    Raj

  • Do you really need a pagebreak after List B? While this is a bit of a guess I Think it may be that list b is hidden but it's still giving the pagebreak hence your blank page.

    Perhaps try it with

    List B-PagebreakAtEnd-false, atStart-false

    -Luke.

    To help us help you read this[/url]For better help with performance problems please read this[/url]

  • Hi Luke,

    Thanks for the suggestion. I already tried that and tried again but same issue.

    Any other suggestions 🙂

    Thanks

  • I've done this type of thing with subreports inside of rectangles. It may just be that your report page is defined as too big (long or wide) for a page thus causing your extra blank pages.

    -Luke.

    To help us help you read this[/url]For better help with performance problems please read this[/url]

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply