Software Platform User guide
Table Of Contents
- Crystal Reports 2008 SP3 User's Guide
- Contents
- Introduction to Crystal Reports 2008
- What's New in Crystal Reports 2008 SP3
- Installing Crystal Reports 2008 SP3
- Installation overview
- Installing Crystal Reports 2008 SP3
- Installation requirements
- Installing Crystal Reports on a local machine
- Creating an installation point and installing from a network server
- Customizing your installation
- Running a silent installation
- Setting custom banners
- Upgrading Crystal Reports components
- Quick Start
- Learning how to use Crystal Reports
- Report Creation Wizards
- Quick start for new users
- Before you begin
- Creating the report
- Selecting a database to use
- Report sections
- Inserting a field
- Understanding fields
- Adding additional fields
- Selecting fields
- Resizing fields
- Reviewing your work
- Displaying field names
- Combining database fields in a text object
- Adding summary information
- Adding a title
- Formatting objects
- Adding a field heading
- Saving the report
- Record Selection
- Grouping and sorting
- Completing the report
- Quick start for advanced users
- Report Design Concepts
- Introduction to Reporting
- Report creation options
- Choosing data sources and database fields
- About the report design environment
- Creating a new report
- Selecting the data source
- Adding tables
- Linking multiple tables
- Placing data on the report
- Formatting data
- Record selection
- Grouping, sorting, and summarizing data
- Using the drill-down option on summarized data
- Using the zoom feature
- Inserting page headers and footers
- Adding a title page to the report
- Adding summary information to the report
- Exploring reports and working with multiple reports
- Beyond basic reports
- BusinessObjects Enterprise Repository
- What is the BusinessObjects Enterprise Repository?
- Accessing the BusinessObjects Enterprise Repository
- Adding subfolders and subcategories to the repository
- Adding items to the repository
- Using repository objects in reports
- Modifying objects in the repository
- Updating connected repository objects in reports
- Deleting items from the repository
- Using Undo in the repository
- Designing Optimized Web Reports
- Overview
- Scale with BusinessObjects Enterprise
- Making the right design choices
- Streamlining your reporting environment
- Using enhanced record selection formulas
- Improving grouping, sorting, and totaling
- Record Selection
- Selecting records
- Using formula templates
- Pushing down record selection to the database server
- Troubleshooting record selection formulas
- Sorting, Grouping, and Totaling
- Sorting data
- Grouping data
- Summarizing grouped data
- Subtotaling
- Percentages
- Group headers
- Running Totals
- Multiple Section Reports
- Formatting
- Formatting concepts
- Using a template
- Using the Report Design Environment
- Section characteristics
- Making an object underlay a following section
- Pre-printed forms
- Multiple columns
- Hiding report sections
- Hiding report objects
- Placing text-based objects
- Placing multi-line, text-based objects
- Importing text-based objects from a file
- Spacing between text-based objects
- Overflow Field Representation
- Selecting multiple objects
- Vertical placement
- Inserting character and line spacing
- Setting fractional font sizes
- Setting page size and page orientation
- Setting page margins
- TrueType fonts
- Printer drivers
- Formatting a report for web viewing
- Formatting properties
- Working with absolute formatting
- Adding borders, color, and shading to a field
- Making a report, section, area, or object read-only
- Locking an object's size and position
- Changing your default field formats
- Adding and editing lines
- Adding and editing boxes
- Expected behavior of line and box formatting
- Adding shapes to a report
- Scaling, cropping, and sizing objects
- Using conventional accounting formats
- Repeating report objects on horizontal pages
- Using white space between rows
- Working with conditional formatting
- Using the Format Painter
- Working with barcodes
- Charting
- Charting concepts
- Creating charts
- Working with charts
- Mapping
- Mapping concepts
- Creating maps
- Working with maps
- OLE
- OLE overview
- Inserting OLE objects into reports
- How OLE objects are represented in a report
- Editing OLE objects in reports
- Working with static OLE objects
- Working with embedded vs. linked objects
- Integrating Shockwave Flash (SWF) objects
- Cross-Tab Objects
- What is a Cross-Tab object?
- Cross-Tab example
- Creating a Cross-Tab report
- To create a new cross-tab report
- To add a Cross-Tab to an existing report
- Specifying the data source
- Modifying the links
- Adding a chart
- Selecting records
- Defining the structure of the Cross-Tab
- Applying a predefined style and finishing the report
- Adding a Cross-Tab to an existing report using the Cross-Tab Expert
- Working with Cross-Tabs
- Formatting Cross-Tabs
- Advanced Cross-Tab features
- Building Queries
- Connecting to a universe
- Defining the data selection for a query
- Editing an existing query
- Viewing the SQL behind a query
- Query filters and prompts
- Filtering data using subqueries and database ranking
- Creating and Updating OLAP Reports
- Printing, Exporting, and Viewing Reports
- Distributing reports
- Printing a report
- Faxing a report
- Exporting a report
- Working with Web folders
- Working with Enterprise folders
- Viewing reports
- Using smart tags
- Distributing reports
- Report Alerts
- Using Formulas
- Formulas overview
- Formula components and syntax
- User Function Libraries in formulas
- Specifying formulas
- Creating and modifying formulas
- Deleting formulas
- Debugging formulas
- Parameter Fields and Prompts
- Parameter and prompt overview
- Understanding dynamic prompts
- Understanding lists of values
- Creating a parameter with a static prompt
- Creating a parameter with a dynamic prompt
- Creating a parameter with a cascading list of values
- The Parameter Panel
- Working with lists of values
- Best practices for prompting
- Deleting parameter fields
- Responding to parameter field prompts
- Advanced parameter features
- Creating a parameter with multiple prompting values
- Applying conditional formatting using parameter fields
- Creating a report title using parameter fields
- Specifying single or ranges of values
- Incorporating a parameter into a formula
- Defining sort order using parameter fields
- Defining entry type and format using the Edit Mask
- Creating a saved-data record filter using parameter fields
- To create a saved-data record filter using parameter fields
- To create a parameter appearing on the Parameter Panel
- To incorporate the parameter into a saved data selection formula
- Adding dynamic grouping using parameter fields
- Subreports
- Understanding Databases
- Databases overview
- Linking tables
- Using SQL and SQL databases
- Server-side processing
- Mapping database fields
- Saved Data Indexes
- Unicode support in Crystal Reports
- For additional information
- Accessing Data Sources
- Introduction
- Direct access database files
- ODBC data sources
- JDBC data sources
- Business Objects universes
- Business Views
- Crystal SQL Designer files
- Crystal Dictionary files
- Report Processing Model
- Crystal Reports Error Messages
- Creating Accessible Reports
- More Information
- Index

ODBC uses the SQL language for all transactions between Crystal Reports
and ODBC. Even if the database does not normally use SQL to create and
work with tables, the ODBC driver provided by the database (the DBMS
translation layer) must communicate with ODBC using SQL. For most users,
this feature of ODBC is transparent, but more advanced users often take
advantage of the features of the SQL language used by ODBC.
DBMS translation (ODBC data source) layer
This layer consists of one or more drivers provided by a DBMS that allow
ODBC to communicate with the database. Crystal Reports ships with several
ODBC drivers for many of the most common database formats. If you are
unsure whether you can use an ODBC driver to access the data in your
database, refer to the documentation for your DBMS application. Most DBMS
applications that run on a Windows-based platform offer an ODBC driver.
When a DBMS provides an ODBC driver, it must register the driver with
ODBC on the machine on which it has been installed. It does this by assigning
a name to the driver and recording the filename in the Odbcinst.ini file.
Usually, this step is handled automatically when the DBMS application is
installed on the system. However, your network system or DBMS application
may require that you register the ODBC driver manually with the ODBC
Setup application. For more information about registering an ODBC driver
with ODBC, refer to the documentation for your DBMS.
Once an ODBC driver is registered, you need to establish an ODBC data
source using that driver. The ODBC data source is the object that you connect
to when accessing data from Crystal Reports through ODBC. Data sources
are recorded in the Odbc.ini file. The data source keeps track of the DBMS
translation files (ODBC drivers) and, sometimes, the database itself. An
ODBC data source can specify just a database format, such as Oracle,
Sybase SQL, or MS SQL Server. Some users, however, prefer to actually
specify a particular database. In this case, the ODBC data source extends
across both the DBMS translation layer, and the database layer.
If you are using a client/server database, such as an SQL server, the ODBC
drivers communicate with the database server through the Database
Communication layer, the same layer that your database client uses to
communicate with the database server.
734 Crystal Reports 2008 SP3 User's Guide
Accessing Data Sources
26
ODBC data sources