|
|
 |
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7  | This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

August 10th, 2005, 05:13 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Conditional Formatting on Page Breaks
Reporting Services Issue:
Our team is having a problems with the functionality in Reporting Services that generates page breaks. The page breaks don't seem to function when you add conditional logic to the visibility property of a control.
Project Goal:
Some sections of our reports are not to be displayed based on certain user entered parameters. When these sections are hidden, the page breaks were still displaying and creating multiple blank pages.
Attempted Solutions:
In an effort to resolve this issue, conditional logic was added to the page break rectangles in order to display or not display along with the other controls. This is where the issue was first noticed. The page breaks quit displaying regardless of the conditional logic.
After that attempt, there was a subreport created with the only object being a page break rectangle in order to abstract the page break from the conditional logic. On the report the conditional logic was then added to the subreport item containing the page break. The same results were observed.
In addition to the above mentioned solution attempts, embedding all page objects in a rectangle, multiple rectangles containing a page break, and every toolbox object was tested. All attempted solutions had the same results. Also, although this seems to be an issue others must have encountered, there is little information about page break logic online.
Questions:
Has anyone observed this problem, and if so, is there a solution?
|

August 3rd, 2007, 06:05 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Did you get any answer to this? I am facing this problem myself.
|

August 14th, 2007, 03:07 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: Louisville, KY, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am having the same exact problem that you are having. I am using a rectangle to set a conditional page break. Trying everyting I set a border color for my rectangle. When I run the report I see the rectangle. So my conditional statement is definately working. However it doesn't do the page break part.
If I take the conditional logic out, the rectangle does produce a page break.
What is really driving me crazy is that I have another report with conditional page breaks that appear to be working. I'm not sure if I got lucky or there is some setting that I have different.
Good luck with this one.
Dennis Branson
|

August 14th, 2007, 03:56 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: Louisville, KY, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I searched all over the web and finally found the answer. I just applied it to my report and it worked perfectly.
You need to next two rectangles inside one another. Apply the conditional formatting to the outside rectangle. Then apply the page break to the inside rectangle.
You have now separated the conditional formatting from the page break.
Since the inside rectangle is only visible when the conditional statement is true, it only applies the page break when it is visible.
Pretty neat. Wish I could take credit for figuring this one out.
Dennis Branson
|

November 28th, 2007, 08:50 AM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: Bangalore, Karnataka, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
This is a great post. I was struggling with the same problem that's reported.
Thank you very much.
|

December 14th, 2007, 08:23 AM
|
|
Registered User
|
|
Join Date: Dec 2007
Location: krishnagiri, tamilnadu, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I was also having the same problem. Now, I got it solved with the help of ur post. thank u.
with regards,
|

August 7th, 2009, 04:23 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by DLBranson
You need to next two rectangles inside one another. Apply the conditional formatting to the outside rectangle. Then apply the page break to the inside rectangle.
|
So that's exactly what I tried before I hit the forums and it hasn't been working for me.
Any ideas? This is really frustrating.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |