Agenda
Introduction
Accessing Data Sources
Creating Reports
Formatting Options
Placing Data on the Report
Manipulating Data
SubReport
Crosstab
Charts
10
Distributing Reports
Copyright 2012 NTT DATA, Inc.
Introduction
Welcome to the training on Crystal Reports 2008
In this training, you will be subjected through various features and functionalities of
Crystal Reports 2008 as a Standard reporting Tool.
Crystal Reports is designed to work with your database to help you analyze and inter
pret important information. Crystal Reports makes it easy to create simple reports, a
nd, it also has the comprehensive tools you need to produce complex or specialized r
eports.
Crystal Reports is a Standard Transaction reporting tool first developed by Seagate,
which later spun off to form a company called Crystal Decisions. Then it was taken
over by SAP Business Objects.
Copyright 2012 NTT DATA, Inc.
Course Objectives
The objective of Crystal Reports training is to provide the audience with complete in
formation & hands-on experience on Crystal Reports as an industry Standard Transa
ction reporting Tool.
It is not limiting but also to enable the participant to execute the case studies which s
erves as a virtual live projects.
At the end of the training, each participant will be able to take up development of re
ports using Crystal Reports.
Copyright 2012 NTT DATA, Inc.
Target Audience
Anyone with good exposure to RDBMS and is aware of DWH and OLTP concepts a
re ideally suited to undergo this training.
Prior work experience in any of the other reporting tools will be an advantage but N
OT mandatory.
Copyright 2012 NTT DATA, Inc.
Accessing Data Sources
Primary goal of reporting is to access data and produce reports
Makes this process very easy, less time-consuming and powerful
Can access data stored in any common/uncommon format
Types of data
1. Direct access DB files
2. ODBC data sources
3. OLEDB
4. Business Views
5. XML
6. SAP BW
7. SAP ERP
8. OLAP Cubes
9. Spreadsheet
10. Applications
Copyright 2012 NTT DATA, Inc.
Accessing Data Sources Contd
Business Views
Created using Business View Manager
Flexible and reliable multi-tier system, helps in integrating data from disparate s
ources
Reduces differences in data resolution, coverage and structure
Consists of
Data Connections
Dynamic Data Connections
Data Foundations
Business Elements
Security could be applied to individual objects
Copyright 2012 NTT DATA, Inc.
Report Design Concepts
Deciding the content of the report
Developing a prototype
Copyright 2012 NTT DATA, Inc.
Creating Report
Follow the steps below to open Crystal Reports:
Start Programs Crystal Reports 2011.
The Start page of Crystal Reports opens which is shown below:
Copyright 2012 NTT DATA, Inc.
Creating Report Contd
To create a new Report click on the green highlighted icon . You will get the Standard Report
Creation Wizard, You can use this if you want but usually we do not use this. So Click on
Finish.
Copyright 2012 NTT DATA, Inc.
Creating Report Contd
You will get the following window. This is the Preview window where you can view the d
ata. Click on the Design Tab as highlighted below.
Copyright 2012 NTT DATA, Inc.
10
Creating Report Contd
Now Delete the Print Date and Page Number special Fields which were automatically ad
ded to the Report.
Copyright 2012 NTT DATA, Inc.
11
Creating Report Contd
Go to File Untick the Save Data with Report because this will increase the size of the
Report.
Copyright 2012 NTT DATA, Inc.
12
Creating Report Contd
Save the Report by giving a Name in the required path in your local system.
Copyright 2012 NTT DATA, Inc.
13
Creating Report Contd
To add a Database Connection. Go to Database Database Expert.
Copyright 2012 NTT DATA, Inc.
14
Creating Report Contd
The following window appears. Click on the Create New Connection
Copyright 2012 NTT DATA, Inc.
15
Creating Report Contd
The window shows the different connections that are available. Choose the app
ropriate one. Here we will choose the OLE DB(ADO) for connecting to SQL serv
er.
Copyright 2012 NTT DATA, Inc.
16
Creating Report Contd
Here select Microsoft OLE DB Provider for SQL Server and click Finish
Copyright 2012 NTT DATA, Inc.
17
Creating Report Contd
Now provide the login details of the Database that you need to connect to. Clic
k on Finish.
Copyright 2012 NTT DATA, Inc.
18
Creating Report Contd
Now you can select the tables or views or Stored Procedures from the Databas
e. Here we select the Stored Procedure so that it is faster.
Copyright 2012 NTT DATA, Inc.
19
Creating Report Contd
Select the Stored Procedure Sample_SP_Crystal_Report and click on the arrow
highlighted to select and click on OK.
Copyright 2012 NTT DATA, Inc.
20
Creating Report Contd
You can view the fields in the Field Explorer
Copyright 2012 NTT DATA, Inc.
21
Creating Report Contd
Now drag and drop the fields into the Details Section.
Copyright 2012 NTT DATA, Inc.
22
Creating Report Contd
You can add remaining fields similarly. To change the name of the headers you
can double click on the header and change the names. The report will look like
this now
Copyright 2012 NTT DATA, Inc.
23
Creating Report Contd
You can add remaining fields similarly. To change the name of the headers you
can double click on the header and change the names. The report will look like
this now
Copyright 2012 NTT DATA, Inc.
24
Creating Report Contd
You can run the report by clicking on the Preview tab or by F5
Copyright 2012 NTT DATA, Inc.
25