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:
- Refresh the report with Report|Refresh Report Data option, or the
Refresh toolbar button.
- Watch the status bar at the bottom of the Crystal Reports screen.
You'll initially see a message indicating "Accessing Database".
- 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.
- 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.
- 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.
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.

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.