|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Fix Page Width with Wrapping CrosstabUse a wrapping crosstab to eliminate those wide reports. Cathy Mitchisch demonstrated this at the CDUGNA conference presentation in New Orleans in May, 2004. She was took a crosstab report that spread over several pages horizontally and wrapped the crosstab so it appeared on one page. It takes a little bit of preparation, but looks great. Think of it as a crosstab relay. The data must arrive in the report already summarized and sorted. We used a SQL command to preprocess the data:
With one record for each cell, we could now use a WhileReadingRecords formula to accumulate a record counter in the report. We called this formula {@EachRegion}
We then created a formula to use as a group for each wrap of the crosstab {@GroupRegions}.
We created a group on this formula. The 6 refers to the six regions that appear in each group. You need to subtract 1 of the RegNo variable because the first region is region 1, and if you don’t do that you get five regions in the first group and six in the rest. We then created a crosstab and placed it in the group header. The Crosstab has a Row field of Country, a column field of Region and a Summarized field of LYSales (Sum). If you want this to work for multiple countries, you will need the crosstab in a subreport and you then process the subreport for one country at a time. Some facts about using cross-tabs:
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. |
| Keep track of your cross-tabs with
Report Analyzer "Report Analyzer does it all. This is the best Crystal Reports 3rd party application on the market today! The numerous features combined with great performance makes Report Analyzer the ultimate documentation and analysis tool." -- Brian Kuipers, CrystalInfo.Net, USA Report Analyzer is the ultimate documentation and analysis tool for Crystal Reports users and developers. With a comprehensive library of analysis and documentation reports, Report Analyzer provides you with complete documentation, analysis, and performance suggestions for your Crystal Reports projects. Keep your investment in Crystal Technology at its best performance using Report Analyzer! How does Report Analyzer Work?Report Analyzer connects to your local Crystal Reports or Crystal Enterprise APS servers and imports their design definition into a documentation database. These imported reports are organized into documentation groups within the database to organize your information for easy referencing and reporting. How can Report Analyzer help you?Report Analyzer now comes in two editions -
Standard and Enterprise (click
here for Enterprise features). Improve report performanceReport Analyzer automatically detects potential performance issues in your report design settings, including record selection formulas, grouping options and database options.
Improve report reliability and maintenanceReport Analyzer documents over 30 design and style settings.
Speed development and maintenanceYou can easily view dependencies between report objects such as formulas, SQL expression fields, parameters, and database fields with the dependency viewer. Additionally, the powerful query feature lets you view dependency information across reporting projects.
Project ManagementReport Analyzer generates comprehensive documentation of your reports, with over 100 presentation quality reports. Complexity metrics assist with test case planning and maintenance estimates.
|