|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Page Footer Tip
Use two Page Footer sections for Odd and Even page footers If you look at any professionally prepared bound, double sided publication you will see the page footers are different on the odd and even pages. The Even numbered pages on the left of the binding often have the page numbers on the left, and other copyright information on the right, while the right hand, odd numbered pages have these fields the other way around. The theory is that if you are looking for a specific page number, then you can thumb along the pages and see all the page numbers on the outer edge of the document. You can achieve the same effect in your Crystal Reports by using a Page Footer a and Page Footer b section with the two layouts you want. Then conditionally suppress the sections using a formula of Remainder(PageNumber,2)=0 //To suppress if page number is even And Remainder(PageNumber,2)=1 //To suppress if page number is odd You might also want to use the section formatting option "Reserve Minimum Page Footer" to give you a little more room for data on the page. See below for some good info and tips on formatting. No sort? You can also put a range in the footer where the data aren't sorted. For example, we wanted to show the highest and lowest value of a field’s values on the page. The solution is a slight variation on the solution we used for the index in the page footer: A formula in the Page Header: (Supress)
A formula in the Details: (Supress)
A Formula in the Page Footer:
This technique can be used only on the page footer. The page header can only see the record at the top of the page. It is not aware (yet) of the other records to be printed on the page. Twofer Speaking of footers, you can use two page footer sections for odd and even page footers. If you look at any professionally prepared bound, double sided publication you will see the page footers are different on the odd and even pages. The Even numbered pages on the left of the binding often have the page numbers on the left, and other copyright information on the right, while the right hand, odd numbered pages have these fields the other way around. The theory is that if you are looking for a specific page number, then you can thumb along the pages and see all the page numbers on the outer edge of the document. You can achieve the same effect in your Crystal Reports by using a Page Footer a and Page Footer b section with the two layouts you want. Then conditionally suppress the sections using a formula of Remainder(PageNumber,2)=0 //To suppress if page number is even And Remainder(PageNumber,2)=1 //To suppress if page number is odd You might also want to use the section formatting option "Reserve Minimum Page Footer" to give you a little more room for data on the page. Formatting This is based on the book, Crystal Reports 8.5: The Complete Reference. At one time, creating a good-looking report involved these steps:
With Crystal Reports, you can—in most cases—create reports directly from the database. This saves a lot of extra work—non-value added work that is terribly boring. Crystal Reports has:
In addition, you can use Report Alerts that activate every time you refresh the report. This feature provides a separate dialog box to give you a report history. It’s got some automation to it to reduce the drudgery of digging through large report histories. Formatting enhances the usability of your Crystal Reports. For even more functionality, you can use third-party programs, such as the ones available here. All that said, here's a caution. Don't get carried away with formatting. A report is not the place to demonstrate how many formatting techniques you can use.Instead, you want to use the formatting to accomplish such goals as:
Avoid common color usage errors
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects. |