Back to the Newsletter page

The Repository from The Ablaze Group, Inc.

July 2008

News
Welcome to our newsletter!
The Repository comes out every 6 - 10 weeks. You'll find Business Objects/Crystal Decisions tools tips and tricks, news about Crystal Reports and Crystal Reports Server, Crystal Xcelsius, BusinessObjects Edge/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 Crystal Reports Professional Results.
  • Crystal Reports 2008: The Complete Reference - on sale now! George Peck's 7th in the McGraw-Hill Complete Reference Series - buy it online and in bookstores. Read all about it in our News section.
  • Licensing De-Mystified - See our Promotions section.

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

I Didn't Know...

... about the "No Records" message for an Empty Subreport. By default, Crystal Reports simply processes each subreport it encounters. If the subreport contains data, the various subreport sections are formatted and the subreport appears within the main report. If the subreport doesn't contain data (linked subreports, for example, may not return any records for a particular occurrence of a linked field), then empty subreport sections, such as a subreport report header containing field titles, will appear on the main report.

You may wish to display a message indicating "No Records" (or something similar) in place of subreports that contain no data. In order to display a "No Records" message, you must actually create logic in the subreport to determine if there are no records. Having determined this, you can display this message in a subreport, hiding any other subreport sections.

  1. Open an existing report containing a subreport, or add a new subreport to an existing report.
  2. Select the subreport Design tab. If you don't see the subreport Design tab, return to the main report Design tab and double-click the desired subreport object. The subreport Design tab will appear.
  3. In an empty report header or footer, add a text object that contains a "No Records" message. There should be no other objects in this report section. Insert an extra report header or footer section, if necessary, for this text object.
  4. Conditionally suppress the section containing the "No Records" Message - it should not appear of there are records on the report. A way to test for the existence of records is to test for a non-null value for an always-expected report field. You may, for example, conditionally suppress the report section with a formula that looks like this:
    Not IsNull((Orders.Order ID))
    Note: You may experiment with other ways of determining record counts. However, be aware that checking the value in the RecordNumber built-in formula function, using a Count function, or other similar methods, may actually result in a null value rather than a numeric result, if there are no records on the report.
  5. Conditionally suppress all remaining report sections with an "opposite" formula that suppresses the sections if there are not records on the report. You might use a formula that looks like this:
    IsNull((Orders.Order ID))
    Note: If you wish to conditionally suppress multiple report sections (such as Report Header a and Report Header b), you may simply suppress the overall report header area. You to not have to conditionally suppress each report header section.
  6. Redisplay the main report Preview tab. Notice that subreports that contain data will show sections that actually show data, while subreports that don't contain data will show only the report section containing the "No Records" text object.
    Note: Ensure that the "Suppress Printing of No Records" option from File | Report options is not selected. If you choose this option, the "No Records" message won't appear with an empty subreport.

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/Business Objects tip, trick or technique.

News

Crystal Reports 2008: The Complete Reference.
Crystal Reports 2008: The Complete Reference - buy it in stores and online. George Peck's 7th in the McGraw/Hill-Osborne Complete Reference series, made its presence felt in bookstores and online the last week of June 2008.
Sample chapters, downloads, and free extras.
BUY THE BOOK!

Already bought it? Thanks so much! Tell us what you think about the book.

Promotions

Licensing De-Mystified and Explained
While Crystal Reports licensing is a pretty straight-forward concept (if you want to install Crystal Reports on your Windows computer, you need your own licensed copy—pure and simple), the license options for web-based Crystal Reports Server(CRS), BusinessObjects Edge, and BusinessObjects Enterprise systems can be a bit more confusing. You’ll encounter three terms when investigating Enterprise licensing options:

  • Named User License (abbreviated NUL) A license that belongs to a specific user that can be used at any time without restriction. For example, if your Enterprise system includes 20 NUL, you may only create 20 user IDs—an attempt to create a 21st user ID will result in a “no more licenses” message. All 20 named users may be logged on to the system at any time.
  • Concurrent Access License (abbreviated CAL) A license that can be shared among several actual users, with no more than the specified number of CAL logged on at any one time. For example, if your Enterprise system includes 20 CAL, you may create as many user IDs as you wish (you’re not limited to 20 user IDs). However, only 20 users may be logged on at any one time. If 20 users are using the system and a 21st attempts to log on, the user will receive an “all licenses are in use” message.
  • Processor License (sometimes referred to as a CPU license) A license that is based on the number of Central Processing Units (CPUs) that your Enterprise servers are equipped with. For example, if you have two physical servers that each contain two processors that you are distributing your various BusinessObjects Enterprise services between, you will need to acquire four CPU licenses. However, you may create as many user IDs as you wish, and any or all of them may be logged on at any time without restriction.

Crystal Reports Server and BusinessObjects Edge can use combinations of NUL and/or CAL, while BusinessObjects Enterprise can use NUL or CPU licenses.

Note: Crystal Reports Server was initially only available with CAL. Ask us about promotions that allow you to purchase NUL only, or combine NUL and CAL to create the appropriate mix of licenses for “occasional” users versus “must always be able to log on” users. Let us know if you’d like more information.

Do you want to learn more about CRS, BusinessObjects Edge or Enterprise? Call 800 773 3472 or email us.

The Ablaze Group, a Business Objects Crystal Partner, Sales & Support

  • Crystal Reports
  • Crystal Reports Server
  • BusinessObjects Edge
  • BusinessObjects Enterprise
  • Crystal Xcelsius
Call 800 773 3472 or email for pricing and details.

Monthly Online Learning
Log On...Learn...LIVE!


2008 Schedule

Crystal Reports/Xcelsius Track

  • Basic Xcelsius Dashboard Design
  • Crystal Reports 2008 Cross-Tabs
  • Ask Anything Crystal!
  • Xcelsius QAAWS Data Access
  • Report Performance Fine Points
  • Crystal Reports 2008 Flash/Xcelsius Integration
  • Subscribers are invited to suggest topics

BusinessObjects Enterprise/Edge Track
  • Introduction to BusinessObjects Edge
  • Universe Design
  • Web Intelligence Overview
  • Data Integrator
  • Enterprise/Edge Administration
  • Enterprise/Edge Architecture
  • Subscribers are invited to suggest topics
Test-drive a demo session.
Call 800 773 3472 for details and to enroll.

Training - Onsite and Online Look at our course outlines.

Consulting - Buy It By the Block!
Onsite and Remote
consulting packages.

Call 800 773 3472 or email for training and consulting information.

 


About The Ablaze Group, Inc.
Consulting
Training
Books
Web Site
The Ablaze Group offers consulting and training for Crystal Reports and Crystal Reports Server/BusinessObjects 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