Home > Store

Crystal Reports 2008 Official Guide

Register your product to gain access to bonus material or receive a coupon.

Crystal Reports 2008 Official Guide

eBook (Watermarked)

  • Sorry, this book is no longer in print.
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires PDF reading software, such as Acrobat® Reader®.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ

Not for Sale

Description

  • Copyright 2009
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-7686-8569-9
  • ISBN-13: 978-0-7686-8569-5

CRYSTAL REPORTS® 2008

OFFICIAL GUIDE

Whether you’re a DBA, data warehousing or business intelligence professional,
reporting specialist, or developer, this book has the answers you need. Through
hands-on examples, you’ll systematically master Crystal Reports and Xcelsius
2008’s most powerful features for creating, distributing, and delivering content.
One step at a time, long-time Crystal Reports insiders take you from the basics
through advanced content creation and delivery using Xcelsius, Crystal Reports
Server, crystalreports.com, and the offline Crystal Reports Viewer.

Every significant enhancement introduced in Crystal Reports 2008 is covered, including its new visualization options and more robust Web services capabilities. The book concludes by showing how to use Crystal Reports’ powerful .NET and Java SDKs to customize and extend enterprise reporting in virtually unlimited ways.

• Learn hands-on, through step-by-step examples and exercises–and discover tips and tricks proven in real-world enterprise environments

  •   Master new Crystal Reports 2008 features, including interactive report viewing, Xcelsius dashboarding, Flex, and Flash integration, Report Designer improvements, report bursting, and more

  •   Publish professional-quality reports against virtually any data source, including relational and OLAP databases, Universes, SAP, PeopleSoft, JavaBeans, .NET/COM objects, XML, and more

  •   Discover advanced visualization techniques using Xcelsius, charts, and maps

  •   Learn methods for distributing reports and integrating content into other applications

            •           Learn about the latest reporting addition to the Business Objects family–Xcelsius and begin creating dynamic and interactive dashboards

NEIL FITZGERALD has spent several years working at Business Objects and with one of Business Objects’ largest providers of custom BI and enterprise reporting solutions.

BOB COATES currently works as a Sales Consultant for Business Objects, an SAP company, where he has been employed for more than eleven years.

RYAN GOODMAN is the founder of Centigon Solutions, Inc., and remains one of the top Xcelsius experts and evangelists in the world.

MICHAEL VOLOSHKO is a senior presales consultant for the financial services team at Business Objects.

ON THE WEB

Find all this and more at informit.com/sams:

     •    Java and .NET sample reports and code samples for all examples in the book

     •    Bonus chapters, tips, tricks, and links to great reporting resources

CATEGORY: Database

COVERS: Crystal Reports 2008, Crystal Reports Server 2008,

Crystal Reports Viewer, crystalreports.com, Xcelsius 2008

USER LEVEL: Beginning–Intermediate

informit.com/sams

Sample Content

Table of Contents

Introduction

Introduction to Information Delivery

Spectrum of Business Objects Product Usage

Custom Information Delivery Applications

Enterprise BI Initiatives

Spectrum of BI Tool Users

Content Creators (Information Designers)

Information Analysts

Information Consumers

The Product Family from Business Objects

What Is in This Book

Part I: Crystal Reports Design

Part II: Formatting Crystal Reports

Part III: Advanced Crystal Reports Design

Part IV: Report Distribution and Advanced Report Design with Crystal Xcelsius

Equipment Used for This Book

Web Resources

Intended Audience

Requirements for This Book

Conventions Used in This Book

I Crystal Report Design

1 Creating and Designing Basic Reports

Introducing the Crystal Reports Designer

Crystal Report Sections

Using Toolbars and Menus

Report Design Explorers

Locating and Using the Report Design Explorers

The Workbench and Dependency Checker

Understanding Data and Data Sources

Understanding Direct Access Drivers

Understanding Indirect Access Drivers

Introducing the Database Expert

Creating a New Connection

Using My Connections

Adding Database Objects to Your Report

Reporting on Tables

Reporting on Views

Reporting on Stored Procedures

Reporting on SQL Commands

Joining Database Objects

Understanding the Different Join Types

Using the Report Creation Wizards

Getting Started with the Report Wizards

Using the Standard Report Creation Wizard

Creating a Report Without Wizards

Troubleshooting

Crystal Reports in the Real World–HTML Preview

Crystal Reports in the Real World–SQL Commands

2 Selecting and Grouping Data

Introduction

Understanding Field Objects

Accessing Database Fields

Accessing Formula Fields

Accessing SQL Expression Fields

Accessing Parameter Fields

Implementing Running Total Fields

Using Group Name Fields

Special Fields

Working with Groups

Inserting Groups

Reordering Groups

Using the Group Expert

Grouping on Date/Time Fields

Hierarchical Grouping

Understanding Drill-Down Reports

Creating a Drill-Down Report

Hiding Details on a Drill-Down Report

Troubleshooting

Crystal Reports in the Real World–Group on a Formula

3 Filtering, Sorting, and Summarizing Data

Introduction

Filtering the Data in Your Report

Working with the Select Expert

The Record Selection Formula

Working with the Formula Editor

Learning to Sort Records

Working with the Sort Expert

Creating Effective Summaries

Creating Grand Totals

Creating Group Summaries

Using Group Selection and Sorting

Creating Running Totals

Troubleshooting

Crystal Reports in the Real World–Nesting Formulas

4 Understanding and Implementing Formulas

Introduction

Using the Formula Workshop

Navigating the Formula Workshop with the Workshop Tree

Using the Workshop Formula Editor

Arithmetic Formulas

Date and Time Formulas

String Formulas

Using Type Conversion in Formulas

Control Structures–Conditional and Looping Structures

Variables

Creating Formulas with the Formula Expert

Using the Formula Extractor to Create Custom Functions

The Multipass Reporting Process of the Crystal Reports Engine

Crystal Reports Processing Engine–Pre-Pass #1

Crystal Reports Processing Engine–Pass #1

Crystal Reports Processing Engine–Pre-Pass #2

Crystal Reports Processing Engine–Pass #2

Crystal Reports Processing Engine–Pass #3

Troubleshooting

Crystal Reports in the Real World–Custom Functions

5 Implementing Parameters for Dynamic Reporting

Introduction

Understanding the Value of Parameters

Creating and Implementing Parameters Fields

Reviewing Parameter Field Properties

Creating Parameter Fields

Setting Default Values for Parameter Fields

Implementing Parameter Fields

Using Parameters with Record Selections

Using Parameters with Top/Bottom N Group Selections

Creating and Implementing Dynamic and Cascading Parameters

Using the Parameter Panel in the Preview Tab

Troubleshooting

Crystal Reports in the Real World–Custom Filtering

II Formatting Crystal Reports

6 Fundamentals of Report Formatting

Introduction

Positioning and Sizing Report Objects

Modifying Object Properties for Formatting Purposes

Exploring the Format Editor Dialog Common Options

The Common Tab of the Format Editor

The Border Tab of the Format Editor

The Font Tab of the Format Editor

The Hyperlink Tab of the Format Editor

Other Format Editor Tabs

Combining and Layering Report Objects

Configuring Report Page and Margin Properties

Troubleshooting

Crystal Reports in the Real World–Exporting Options

Crystal Reports in the Real World–Referencing External Resources

7 Working with Report Sections

Introduction

Formatting Report Sections

Modifying Report Section Properties

The Section Expert Settings and Functionality

Using Multiple Report Sections

Resizing Report Sections

Inserting New Report Sections

Deleting Report Sections

Merging Report Sections

Troubleshooting

Crystal Reports in the Real World–Advanced Formatting

Crystal Reports in the Real World–Advanced Formatting on Drill-Down Reports

8 Visualizing Your Data with Charts and Maps

Introduction

Using the Chart Expert

Using the Chart Expert Type Tab

Using the Chart Expert Data Tab

Using the Chart Expert Axes Tab

Using the Chart Expert Options Tab

Using the Chart Expert Color Highlight Tab

Using the Chart Expert Text Tab

Using the Map Expert

Using the Map Expert Data Tab

Using the Map Expert Type Tab

Using the Map Expert Text Tab

Modifying Chart and Map Properties

Modifying Chart Properties

Format Chart Options

Using and Creating Chart Templates

Specifying Chart Size and Position

Modifying Chart Options

Specifying Series Options

Specifying X-Axis and Y-Axis Options

Specifying Selected Item Formatting Options

Specifying 3D Viewing Angle Options

Modifying Map Properties

Troubleshooting

Crystal Reports in the Real World–Complex Charts

9 Custom Formatting Techniques

Introduction

Making Presentation-Quality Reports

Common Formatting Features

Working with ToolTips

Lines and Boxes

Creating a Vertical Text Watermark

Conditional Formatting–Using Data to Drive the Look of a Report

Applying Formatting from Another Field

Report-to-Report Linking and the Hyperlink Wizard

Report-to-Report Linking

Hyperlink Wizard

Find in Field Explorer

Barcode Support

Convert to Barcode

Convert from Barcode

Crystal Reports in the Real World–Advanced Charting

III Advanced Crystal Report Design

10 Using Cross-Tabs for Summarized Reporting

Introduction to Cross-Tabs

Benefits of Cross-Tabs

Leveraging Experience with the Spreadsheet Format

Horizontal Expansion

Custom Formatting

Using the Cross-Tab Wizard

Using Top N with Cross-Tabs Reports

Using Advanced Cross-Tab Features

Setting Relative Position

Inserting a “Percentage of” Summary

Horizontal and Vertical Placement

Inserting Summary Labels

Adding a Display String

What’s New in Cross-Tabs

New Cross-Tab Functions Defined

Crystal Reports in the Real World–Advanced Cross-Tabs

11 Using Record Selections, Sort Controls, and Alerts for Interactive Reporting

Introduction

Creating Advanced Record Selection Formulas

Record Selection Review

Displaying Record Selections

Dealing with Dates

Working with Strings

Pushing Record Selections to the Database

An Introduction to SQL Expressions

Adding Alerting to Your Reports

Creating, Editing, and Using Alerts

Using Alerts in BusinessObjects Enterprise

Performance Monitoring and Tuning

Group By On Server

SQL Expressions in Record Selections

Use Indexes on Server for Speed

On-Demand or Reduced Number of Subreports

Performance Monitor

Dynamic Cascading Prompts

Sort Controls

Crystal Reports in the Real World–Web Report Alert Viewing

Troubleshooting

12 Using Subreports for Advanced Reports

Introduction to Subreports

Common Subreport Usage

Adding Subreports to Your Reports

Understanding Linked Versus Unlinked Subreports

Considering Subreport Execution Time and Performance

Using Variables to Pass Data Between Reports

Emulating Nested Subreports

Troubleshooting

Crystal Reports in the Real World–Multiple Subreports

13 Using Formulas and Custom Functions

Introduction

Choosing a Formula Language: Crystal Versus Basic Syntax

Understanding Syntax Differences

Why Basic Syntax Was Added

Selecting the Best Syntax for You

Using Brackets in Formulas

Using Characters in Formulas

Recent Improvements to Formulas
Manipulating Memo Fields in Formulas

Working with the Additional Financial Functions

Creating Custom Functions in Your Reports

Sharing Custom Functions with Others

Understanding Runtime Errors

Crystal Reports in the Real World–Custom Functions

14 Designing Effective Report Templates

Understanding the Importance of Reuse in Reporting

Understanding Report Templates

Using Report Templates

Using Existing Crystal Reports as Templates

Understanding How Templates Work

Creating Useful Report Templates

Using Custom Functions as Replacements for Data-Dependent Business Logic

Using the CurrentFieldValue Function

Using Template Field Objects

Using Report Templates to Reduce Report Creation Effort

Applying Multiple Templates

Exporting Capabilities in Crystal Reports

Crystal Reports in the Real World–Standardized Templates

Troubleshooting

15 Additional Data Sources in Crystal Reports

Understanding the Additional Crystal Reports Data Sources

Connecting to COM or .NET Data Sources

Leveraging Legacy Mainframe Data

Handling Complex Queries

Runtime Manipulation of Data

Review an .ADO.NET Data Provider

Connecting to an ADO.NET XML Recordset

Connecting to Java-Based Data Sources

JavaDir

JavaBeansClassPath

Connecting to XML Data Sources

Connect to a Local XML Data Source

Connect to an HTTP(S) Data Source

Connect to a Web Service Data Source

Introduction to the Integration Kits

Honor the Security

Access to All the Data

Sample Reports

Leverage the Metadata of the ERP Application

Provide Real-Time Access to Data

SAP Integration Kit

Reporting Off R3 Data

Reporting Off BW Data

Viewing the Reports

PeopleSoft Integration Kit

Reporting Off PeopleSoft Data

Viewing the Reports

Siebel Integration Kit

Troubleshooting

Crystal Reports in the Real World–Leveraging XML as a Data Source

16 Formatting Multidimensional Reporting Against OLAP Data

Introduction to OLAP

OLAP Concepts and OLAP Reporting

Recently Added or Changed OLAP Features in Crystal Reports

Using the OLAP Report Creation Wizard and OLAP Expert

Specifying an OLAP Data Source

Specifying OLAP Rows and Columns

Specifying OLAP Dimension Slices (Filters) and Pages

Adding Report Styles in the OLAP Report Creation Wizard

Adding Charts via the OLAP Report Creation Wizard

Customizing Styles in the OLAP Expert

Customizing Labels in the OLAP Expert

Advanced OLAP Reporting

Interacting with the OLAP Grid

Pivoting the OLAP Grid

Using the Cube View Functionality

Using Charts and Maps Based on OLAP Grids

Troubleshooting

Crystal Reports in the Real World–OLAP Summary Report with Drill-Down

IV Report Distribution and Advanced Report Design with Crystal Xcelcius

17 Introduction to Crystal Reports Server, Crystalreports.com, and the Crystal Reports Viewer

What Is Crystal Reports Server?

Crystal Reports Server Architecture

Client Tier

Application Tier

Intelligence Tier

Processing Tier

Data Tier

Crystal Reports Server Applications

Central Configuration Manager

Use the Central Management Console (CMC)

Launch InfoView

What Is Crystalreports.com?

Getting Started with Crystalreports.com

Adding Reports to Crystalreports.com

Sharing Reports on Crystalreports.com

Offline Viewing with the Crystal Reports Viewer

Troubleshooting

18 Crystal Reports Java Components

Overview of the Crystal Reports Java Reporting Component

Components Run on the Web Application Server

Components Are Generally Less Scalable

Components Are 100% Pure Java

Understanding the Java Reporting Components Architecture

Differences with the Java Reporting Engine

Supported File Formats

Support for User Function Libraries in Version XI of the Java Reporting Components

The Java Reporting Engine Uses JDBC

Configuring the Application Server

Delivering Reports in Web Applications

The setReportSource Method

The processHttpRequest Method

Customizing the Toolbar

Customizing the Group Tree

Using the Crystal Tag Libraries

Exporting Reports to Other File Formats

Exporting via the Toolbar Button

Exporting via Code

Printing Reports from the Browser

Common Programming Tasks

Passing Parameters

Setting Data Source Information

Developing with a Visual Development Environment

19 Crystal Reports Microsoft .NET Components

Understanding Microsoft’s .NET Platform

Understanding the Different Crystal .NET Components

An Overview of the Crystal Reports 2008 .NET Components

The Report Designer

Understanding the Report Designer’s User Interface Conventions

The Property Browser

The Report Engine Object Model

Opening Reports

Exporting Reports

Printing Reports

Delivering Reports with the Windows Forms Viewer

The ReportSource Property

Customizing the Windows Forms Viewer

Delivering Reports with the Web Forms Viewer

Customizing the Web Forms Viewer

Database Credentials

Setting Parameters

Understanding the Report Application Server Bridge

Creating a Crystal Reports Web Service

Troubleshooting

20 Basic Xcelsius Development

Introduction to Dashboards with Xcelsius

Xcelsius Development Paradigm

Xcelsius Integrated Development Environment

Components

Properties

Object Browser

Data Manager

Basic Component Categories

Single Value Components

Charts

Selectors

Containers

Alerts

Dashboard Design Enhancements

Color Schemes

Themes

Backgrounds

Label Text

Image Component

Publishing and Deployment

Adobe SWF

Adobe PDF Document

Microsoft PowerPoint

Microsoft Word

Business Objects Enterprise

HTML

Crystal Reports

Troubleshooting

21 Advanced Xcelsius Visualization and Connectivity

Advanced Global Features and Techniques

Dynamic Visibility

Chart Drill Down

Insert Filtered Rows

Map Components

Multilayer Dashboards

Advanced Functionality with Excel Logic

Conditional Formulas

Lookup Functions

Concatenating Values

Working with Dates

Advanced Connectivity and Integration

Data Manager Usage Tab

BusinessObjects Enterprise Integration

Live Office Connectivity

Universe Query with Query as a Web Service

Web Service Connection

Excel XML Maps

Using Flash Variables

Index

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020