SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Page Header in Case of Dyanamic report Header


Page Header in Case of Dyanamic report Header

Author
Message
vikas_yadav24
vikas_yadav24
SSC Journeyman
SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)

Group: General Forum Members
Points: 99 Visits: 51
I am moving my reports from access to SSRS. In access we have some text in "Report Header " which should appear only at first page. But Page header should not display on First page. In case of static Report Header, we can achive this functionality by setting the "Display On First Page" property of Page Header. But I have some reports in which visibilty of report header depends upon user preferences. In that case when User sets the Report Header Visibilty to false, Page Header is not displaying on first page (because of my setting). I can not control the setting of Page header by formula, like when reportheader will be hidden then page header should appear on first page.

How Can I achive this functionality
Wesley Norton
Wesley Norton
SSC-Addicted
SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)

Group: General Forum Members
Points: 437 Visits: 442
I think I am following what you are looking for. Perhaps what you need is not something that turns on and off the headers but changes what appears there depending on the page / parameter what about something like:
Iif(Globals!PageNumber > 1, True, False)


in the "Hidden" field of the different items you have in your page header.
vikas_yadav24
vikas_yadav24
SSC Journeyman
SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)

Group: General Forum Members
Points: 99 Visits: 51
Thanks for replying.
But using this, space taken by page header will not supress.
I have almost 1.5in long page header.
Is there any way to supress space too?
Wesley Norton
Wesley Norton
SSC-Addicted
SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)

Group: General Forum Members
Points: 437 Visits: 442
When everything is hidden(going on memory here) it seemed that it collapsed. Perhaps there is a rectangle, or some other item taking up the space that is not hidden?
Amy Haiken-371718
Amy Haiken-371718
SSC Rookie
SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)

Group: General Forum Members
Points: 32 Visits: 30
I'm having the same problem, where the page header area doesn't suppress on subsequent pages. After the above comment, I tried to set all of the controls within the rectangle to have them be invisible when the page wasn't the first one. I still had that empty space on subsequent pages.

Please someone help us! Smile

Thanks,
Amy
Amy Haiken-371718
Amy Haiken-371718
SSC Rookie
SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)

Group: General Forum Members
Points: 32 Visits: 30
I found some place that you need to set the report properity 'consumecontainerwhitespace' to true, but the rdlc report properties doesn't have that property listed. Does anyone have any ideas of what can be done to suppress white space?

Thanks,
Amy
Wesley Norton
Wesley Norton
SSC-Addicted
SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)

Group: General Forum Members
Points: 437 Visits: 442
Amy, I have not run into this issue myself, however I have had some crazy things happen when using rdl files. My suggestion was based on what I could find on short notice, not an actual,tested,solution. I have, for all practicalities, no experience using rdlc files. I don't know what the differences would be.

So you have made all these changes, and still the whitespace. Is it the same size, smaller, larger? What happens when you leave something in there that is very small? What happens if you turn off the header completely? What about using the code that I provided up there but change it so something would show up on every page other than the first page, in essence creating your own 'report header' logic?
Amy Haiken-371718
Amy Haiken-371718
SSC Rookie
SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)SSC Rookie (32 reputation)

Group: General Forum Members
Points: 32 Visits: 30
Hi Wesley,

Yes, I did use the logic for the hidden expression and that's why I have white space on the subsequent pages. I put that expression on every single control and that didn't seem to matter. The user interface is very different for the rdl and rdlc files. Microsoft and the books only document the rdl way, so you wind up tinkering with the interface and options to figure out how to create a rdlc report. Unfortunately you have to use a rdlc report if you want to create a web page that uses the report viewer.

Thanks,
Amy

PS. If I figure it out, I'll post the answer.
Wesley Norton
Wesley Norton
SSC-Addicted
SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)SSC-Addicted (437 reputation)

Group: General Forum Members
Points: 437 Visits: 442
The more I think about this, the more familiar it seems. I have had to find workarounds for a few different things that seemed like they should have been part of the package, like paging.

Perhaps, if you get rid of the headers completely, then add your controls in with the logic to show one on the first page while hiding the other, and then for the rest of the document, hiding the first control while showing the others.
becklery
becklery
Old Hand
Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)Old Hand (399 reputation)

Group: General Forum Members
Points: 399 Visits: 187
Hi, vikas_yadav24.
In fact, you can try RAQ Report. It has a wonderful function for the setting of page header, page footer, and report title.

RAQ Report: Web-based Excel-like Java reporting tool
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search