[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

Section suppression based on unknown record count

Asked by shovavnik in Crystal Reports Software

Tags: crystal, record, page, count, suppress

Hello,

We are creating a number of relatively complex reports using CR 9.1.5000 (bundled with VS.NET 2003). Our project is on a really tight deadline, so we would really appreciate any help.

In most of our reports, we include a subreport or two in the report footer.

The problem is that when the reocrds of the report in the details section end at the end of a page, and the report footer overflows to the next page (because it's an expandable subreport), the page header section as well as the details section also overflow incorrectly over to the next page.

For example, say a customer has 20 orders and these 20 orders fill up a single page in the crystal report. Also assume there are some rows, say 5, of summary data given by a subreport, including complex summary data that can only be calculated in the db (the available CR functions are insufficient). The output will be as follows. Page 1 displays correctly. It shows all 20 orders on the first page. Page2 display incorrectly. It shows the subreport correctly at the top of the page, but it also shows the page header and the column lines of the details section without any data. In other words, the subreport appears ON TOP OF the empty details section on the last page.

We tried to figure out the proper formula to suppress the page header on the last page if there are no records on that page, but are unable to. Keep in mind that the height of a row is unpredictable as the text can word-wrap on the report.

Is there any way to figure out in the page header section how many records are on visible on the "current" page. Ideally, the suppress function should look something like:

PageNumber > 1 AND NumberOfRecordsOnThisPage = 0

Is this possible?

Thanks in advance!
[+][-]09/14/05 10:47 AM, ID: 14883005Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Crystal Reports Software
Tags: crystal, record, page, count, suppress
Sign Up Now!
Solution Provided By: frodoman
Participating Experts: 2
Solution Grade: A
 
[+][-]09/14/05 11:29 AM, ID: 14883467Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/14/05 12:30 PM, ID: 14884021Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/14/05 01:55 PM, ID: 14884849Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/15/05 09:51 AM, ID: 14891011Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/15/05 10:30 AM, ID: 14891362Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92