Back to the Newsletter page

The Repository from The Ablaze Group, Inc.

January 2006

News
Welcome to our newsletter!
The Repository comes out every 6 - 10 weeks. You'll find Crystal tools tips and tricks, news about Crystal Reports and Crystal Reports Server/Crystal Enterprise. Check our Promotions section for upgrades, implementations and training. This month's highlights:
  • I Didn't Know... - your Crystal knowledge resource. Look for tips and tricks from George Peck's Crystal Reports Professional Results and from you (when you send them in), our subscribers.
  • User Group Forum. - Rocky Mountain Oracle Users Group (RMOUG) Training Days slated for February 15 & 16. George Peck compares Crystal and Oracle reporting tools. See the News section for more.
  • Crystal Reports Server/Crystal Enterprise Fast Lane - Looking for a FAST one-source, one-stop way to get leading edge Enterprise Reporting in place in your organization in one week? Hurry to our Promotions for all the details.
  • Online Learning: CE Administration Tips and Pick & Choose - The December 2005 and January 2006 sessions were very well attended and received! Crystal Enterprise Administration Tips, is scheduled for February 21, 2006. Pick & Choose custom training subjects will be available online every quarter. See our Promotions for more information and to register.

Questions and suggestions? email us - we look forward to hearing from you.
Visit our newsletter archive for past issues.

I Didn't Know...

... how to control rounding and trailing zeros.
"Out of the box", Crystal Reports rounds and formats number fields using the number of decimal places specified in your Windows Control Panel’s Regional Settings area (typically two decimal places for standard US Windows installations). While you can select a different overall default from the Fields tab of the File -> Options dialog box, it will still be a set number of decimal places that will be used as a default when formatting number and currency fields.

This caused a problem for one of our clients who needed to display numeric values with the exact number of decimal places that the number actually was stored with. For example, if the actual field was 1, they wanted the value displayed as 1 instead of 1.00. And, if the field was .125, they wanted the value displayed that way instead of .13. The problem was, these various decimal precisions were contained in the same field and changed from record to record. Thusly, they couldn’t manually set the number of decimal places that would properly display the value’s exact precision.

To solve this problem, enter the following formula in the Conditional Format Formula Editor for both the Decimals and Rounding properties on the Number tab of the field’s Custom Style dialog box from the Format Editor:

If CurrentFieldValue = Int(CurrentFieldValue)
Then 0
Else
If
CurrentFieldValue * 10 = Int(CurrentFieldValue * 10)
Then 1
Else
If
CurrentFieldValue * 100 = Int(CurrentFieldValue * 100)
Then 2
Else
If
CurrentFieldValue * 1000 = Int(CurrentFieldValue * 1000)
Then 3
Else
If
CurrentFieldValue * 10000 = Int(CurrentFieldValue * 10000)
Then 4
Else
If
CurrentFieldValue * 100000 = Int(CurrentFieldValue * 100000)
Then 5
Else
If
CurrentFieldValue * 1000000 = Int(CurrentFieldValue * 1000000)
Then 6
Else
DefaultAttribute

This conditional formula will automatically round and display the precise number of decimal places, based on the actual decimal precision of the value displayed in the field. This formula should work properly for up to six decimal places, using the manual setting in the Format Editor for any finer precision.

... the best way to troubleshoot database performance problems.
Larger corporations and organizations are moving mainframe systems to SQL database-based systems on a regular basis. As such, industry-standard databases, such as Microsoft SQL Server and Oracle, are being used to host larger sets of data. It's not uncommon to find databases that contain multimillion-record tables.

With these increasingly large databases comes the potential for slower reports. Common sense dictates that the larger the amount of data that must be selected, formatted, calculated, and so on, the longer the period of time required to run the report. When reports run slowly, there are some simple steps you can take to determine where the performance bottleneck is. And, depending on where the bottleneck is, there are some steps (sometimes simple, sometimes not) that can be taken to improve performance.

Determine Where the Problem Exists
The first step in evaluating a slow report is determining where the performance problem comes from. The Crystal Reports processing model can be broken down into two very high-level steps: the database query step and the report processing step.

  • The database query step This is part of the overall report process with Crystal Reports sends a SQL query to the database for processing. The database server then performs various processes, such as optimizing the query, running it against its local database, and returning the resulting set of data back to Crystal Reports.
  • The report processing step Once the set of data (known as the result set) begins to arrive from the database server, Crystal Reports must conduct its own set of report processes. These can include running secondary record selection that the database server couldn't perform, grouping records, performing object and report section formatting, calculating formulas and totals, and so on.

Determining which of these steps is slowing the overall report process down is fairly straightforward:

  1. Refresh the report with Report|Refresh Report Data option, or the Refresh toolbar button.
  2. Watch the status bar at the bottom of the Crystal Reports screen. You'll initially see a message indicating "Accessing Database".
  3. As long as the Accessing Database message appears in the status bar, Crystal Reports is waiting for a result set to be returned from the database. This is the database query step.
  4. Once the database server begins to deliver the result set to Crystal Reports, the Crystal Reports status bar will change. Messages may include "Reading Records", "Calculating Summaries", "Processing Subreports", and so forth. You'll also notice record counts and percentages appearing on the right side of the status bar. This is the report processing step.
  5. By seeing how long each of the two major steps take, you can narrow down which step is causing the performance problem.

NEXT MONTH: SOLVING THE PROBLEM. Can't wait? Find the solution in Crystal Reports Professional Results.

Tips and tricks are brought to you by Crystal Reports Professional Results and you, our readers. You can win a copy of Crystal Reports Professional Results or Crystal Reports: The Complete Reference and see YOUR name here. How? Just email your favorite Crystal tip, trick or technique. If it's selected we'll include it and your name in the next release of The Repository and we'll send you a copy of either Crystal Reports Professional Results or Crystal Reports: The Complete Reference.

email your favorite Crystal tip, trick or technique.

News

Local User Group News

The Ablaze Group is your local user group resource.
Consider The Ablaze Group's The Repository your user group's billboard to get the word out on what your user group is doing and where! We'll feature your meetings and special programs to energize other user groups across the country, the hemisphere, the world! email us today and read about your group in our next issue.

RMOUG Training Days 2006, February 15 & 16, Denver Convention Center The largest independent Oracle user group in the United States holds its renowned training days in February, in Denver. Come meet, learn and network with fellow Oracle professionals during two days packed with educational opportunity. George Peck presents a candid comparison of Crystal and Oracle reporting tools. This is a "must see" event. Visit www.RMOUG.org. Register now, arrive early, don't be left out!

Tell us about your user group. email us today.

Promotions

Crystal Reports Server XI/Crystal Enterprise Fast Lane

Crystal Enterprise 10/Crystal Reports Server XI Fast Lane is your one-source, one-stop way to get the leading-edge Enterprise Reporting system in place in your organization in one week or less! Now, you can have Crystal Enterprise 10 or Crystal Reports Server XI, both based on the market leading Crystal Reports reporting tool, providing mission critical business answers automatically and reliably. And, this help comes from the leader in Crystal Business Intelligence expertise with over 10 continuous years of experience with these exciting products!

This all-inclusive package features:

  • Initial evaluation of your existing hardware/software environment and recommendations for any modifications to appropriately handle the proper CE/CRS implementation.
  • Evaluation of your end-user requirements, including number of users and frequency of need, geographical distribution of users, and existing security environment. Recommendations on best methods of accommodating your existing and future user base are included in this phase.
  • Onsite software installation and configuration. (1/2 day)
  • Onsite familiarization with IT administrative staff, including coverage of general administration, maintenance, and scheduling topics. (1/2 day)
  • Creation of a single, simple Business View based on customer input, including associated hands-on training for selected IT/business users. (1/2 day)
  • Training program (onsite or online) for up to 15 end users on Web Desktop/InfoView operation. (1/2 day)
  • 60 days of follow-up technical support via phone or e-mail.
Call 800 773 3472 to schedule your CE 10/CRS XI Fast Lane.

Online Learning Series

Crystal Enterprise Administration Tips, February 21, 2006
The Ablaze Group proudly presents our Online Learning Series. This live learning experience features Ablaze Group technical professionals covering vital Business Intelligence topics with a follow-up emailed-in question and answer period. George Peck presents Tuesday, February 21, 2p to 3p MST.
Attendance is limited. Call 800 773 3472 now to register.

2006 brings you two tracks of online, interactive learning:

Technical Track - 1 Session Each Month

  • Crystal Reports XI New Features - January 2006 (archive available)
  • Crystal Enterprise Administration Tips - February 21, 2006 2p - 3p MST
  • Advanced Report Formulas-Variables and Arrays - March
  • Introduction to Crystal Reports Server - April
  • Report Design Tips & Tricks #2 (new topics) - May
  • Exploring Crystal Enterprise/Crystal Reports Server Architecture - June
  • The Ins and Outs of Crystal Charts - July
  • Report Design Tips & Tricks #3 (new topics) - August
  • Take Advantage of the Crystal Enterprise/Crystal Reports Server Repository - September
  • Interactive Reporting: Drill-Down Report Design Techniques - October
  • Report Performance Tips for SQL Databases - November
  • To Be Announced - December

Strategic Track - 1 Session Every 2 Months

  • Business Intelligence State of Affairs - What's On The Horizon - January
  • Crystal Overview - A Look At The Toolset - March
  • An Exploration of OLAP - Who Is The Audience? - May
  • Report Presentation: What Best Conveys Information - July
  • Microsoft BI Offerings: Do You Get What You Pay For? - September
  • Building BI Experience: Finding or Making a Great Staff - November

Watch for follow-up email with details or call for more information. Technical Track subscription includes:

  • Technical support
  • Archived sessions
  • Group discount rates.

Pick & Choose Custom Training
Pick & Choose custom training subjects are offered online every quarter. These LIVE online sessions are designed for audience interaction and participation. Better than old-fashioned computer-based training, Pick & Choose allows you to select the modules you want and then participate in the learning process. Pick & Choose from our lineup:

  • Crystal Reports Form Letters
  • Advanced Charting
  • Crystal Reports Formulas Introduced
  • Advanced Formulas/Variables/Arrays
  • The Repository
  • Exporting and Basic Web Reporting
  • Dealing With Database Difficulties
  • Complex Report Design Techniques
  • Business Views
  • Report Performance Fine Points
  • Integration with VS.NET

Attendance is limited. Register now: call 800 773 3472 for rates and dates. email for more information.

Training
Pick & Choose - build your own courseware
Crystal Reports
Crystal Reports Server/Crystal Enterprise
Call or email for details.

Our courseware includes Crystal Reports: The Complete Reference. Use it during class - rely on it at work. This is an Ablaze Group exclusive.
Call us at 800 773 3472.

Take a look at our course outlines.
Call or email for details.

 


About The Ablaze Group, Inc.
Consulting
Training
Books
Web Site
The Ablaze Group offers consulting and training for Crystal Reports and Crystal Reports Server/Crystal Enterprise. Our staff can help you design and develop reports, distribute reports via the Web, and integrate it all into your company's Web site or intranet. And we can also show you how to do it with our customizable on-site training classes. Just let us know how we can help.

Back to the Newsletter page

Copyright