Escolar Documentos
Profissional Documentos
Cultura Documentos
Improved usability Expanded Application Development Capabilities Integration with Business Objects Enterprise XI R2
10
Creating a Report
Connect to a data source Connect to database Adding tables & Linking Tables Defining the design environment Inserting objects on a report Positioning and sizing objects Formatting objects Previewing and saving the report
. 11
12
Selecting Data
Standard Report creation wizard opens.
Click
13
14
15
16
Selected Table
17
Design Area
18
19
Field Explorer
Table Name
Column
Names
20
Design Tab
Design Tab is the place where you do most of the initial work when creating the report It designates and labels the various part of the report It has the structure and instruction for creating the final report
21
Page Header
Information what you want to appear at the top of each page
Details
Body of the Report
Report Footer
Information appear only once at the end of the report
Page Footer
Page number and other information you want to appear on the bottom of each page.
. 22
23
Group Footer
Holds the summary value Printed once at the end of the group
24
Inserting Field
Expand the Database field node Expand a table Click the field which you want to display in the report Drag into Details section of the report
25
26
Inserted field
27
Resizing Field
Click the field which you want to resize Move the cursor over the resizing handle until the cursor turns into a resizing cursor Resize the field
28
Resizing Field
Resizing Handle
Resizing Cursor
29
Click
30
31
32
Adding a title
Click the design tab Go to field explorer Expand Special fields Choose Report Title Drag the cursor over the report Place the Title in the Report Header
33
34
Title
35
Formatting Object
Select the object which you want to format Right click and select format field from the drop down menu Format Editor will open You can change the format for the object - You can add borders, colors and shading to a field
- You can add hyperlinks to the objects
36
Selected Object
37
Formatted
Object
38
39
Record Selection
Used to restrict the records in the report It is like a filter applied in report Click Select Expert on the Expert Tools toolbar Select the field to which you wish to restrict the data (Eg.Cutomer.Country)
40
41
This selection will return only those records for which the
country is equal to England
. 42
Deleting a Field
43
Sorting Records
Click Sort Record Expert
44
45
grouping
46
47
48
49
HANDS ON WORKSHOP
50
Exercise 1
Create a report using Blank Report Select Employee Table Select Employee ID,First name,Position,Salary Add Summary info for the report Give Title to the report Group the report by Employee position Apply sort on Employee Name Insert image to the report View the report
51
Click any one on the start page as per your requirement Then it asks you to select the data
52
Select Database
53
Click
54
55
56
57
58
59
Select a Template
60
61
62
63
64
Make Desire
Changes
65
66
67
68
HANDS ON WORKSHOP
69
Exercise 2
Create a Report using Report wizard Use the Employee table Add Shapes to Report Make this report as read only
70
Charts
You can insert charts for the following:
Summary and Subtotal fields Detail, formula and Running Total fields Cross-Tab Summaries OLAP Data
71
Chart Layouts
Advanced Group Cross-Tab OLAP
72
73
74
SubReports
A subreport is a report within a report Subreports are used to To combine unrelated reports into a single report To coordinate data that cannot otherwise be linked To present different views of the same data within a single report.
75
76
Inserting SubReports
On the insert menu Click Subreport
77
HANDS ON WORKSHOP
78
Exercise 3
Create a report Create Subreport in the primary report Create on-demand Subreport in the primary report Identify the difference
79
Summary Functions
The Summary functions are all used to summarize field data Examples:
Sum Average Minimum Maximum Count Distinct count etc.
80
Summary Functions(Continued)
Click Insert Summary on the Insert Menu
81
Linking Tables
When you add multiple database tables to your report, you need to link the tables on a common field so that records from one table match related records from another
82
Primary Table
Lookup Table
83
84
85
Cross-tab Table
On File menu click New Select a Cross-tab Report from the drop down menu
86
87
88
89
90
91
92
Product Name
Region
93
HANDS ON WORKSHOP
94
Exercise 4
95
Parameter Fields
Used to Prompt the user to enter the information Information entered by the user determines what appears in the report Parameter fields support the following data types
Boolean Currency Date Date Time Number String Time
96
97
Enter Prompt
Text
98
99
Running Total
Running totals are totals that can be displayed on a record by record basis It totals all records up to and including the current record.
10
10
HANDS ON WORKSHOP
10
Exercise 5
Create a report using Customer and Order Tables Include the fields Customer Name, Order ID,Order Amount Create a Running total for Order Amount on the change of Order ID Add Running total field in to design Area. View the Report
10
10
Name the alert. Create the message you want to appear when the alert is triggered (optional). Define the condition that triggers the alert.
10
HANDS ON WORKSHOP
10
Exercise 6
Create a Report using Customer Table Include Country, Last Years sales, City Create a Alerter to indicate the countries with last years sales greater than $15000
10
10
10
Click Field
Explorer
Select parameter Fields and then Click New
11
es, select
elect country
11
Click the blank field under country and select region Click the blank field under region and select city In the parameter binding area, click country and Region to clear the binding (only the field associated with the City value should be bound).
11
pert
11
Creating Dynamic and Cascading Prompts (Continued) Select the values for the Prompt and then Click OK
11
11
11
Parameterized Sorting
Group sort order can now have their sort values driven by formula This feature allows you to use parameters to control sort order
11
11
11
12
12
12
12
HTML Preview
Crystal reports can now be previewed in HTML format thus showing how reports will look when published to the web In Crystal Reports design environment an additional VIEW tab is added to support this functionality The advantage of this feature is time saved in iterative task of publishing reports to the web as they are designed
12
12
12
12
Workbench
Lets you keep Projects organized and allows you to group reports in folders according to your preference
12
12
13
13
13
13
Advanced Reporting
Report Processing Strategy
13
Multi-Pass Reporting Process of the Crystal Reports Engine The model determines the order in which data is accessed and manipulated during Report generation. Crystal reports uses Three Pass Reporting Methodology to
generate reports. Understanding Report Processing Model facilitates, effective report design and faster debugging.
13
What is a Pass? A pass is a process that Crystal Reports uses each time the data is read or manipulated.
Depending on the complexity of the report, Crystal Reports may make 1, 2, or 3 passes over the data.
13
Report Processing
Crystal Reports Processing Engine Pre-Pass # 1: Evaluation Time Before Reading Records Constant Formulas Crystal Reports Processing Engine Pass # 1:
Evaluation Time While Reading Records Database connection and Record retrieval Recurring formulas Local Record Selection Sorting, Grouping & Summarizing Saved data storage
13
Report Processing
Process Flow : Pass # 1
13
Report Processing
Crystal Reports Processing Engine Pre-Pass # 2: Group Sorting Top/Bottom N Hierarchical Grouping Crystal Reports Processing Engine Pass # 2: Evaluation Time While Printing Records Print-time formulas Running total Calculations Charts, maps, Cross-tabs & OLAP grids Subreports
13
Report Processing
Process Flow : Pass # 2
14
Report Processing
Crystal Reports Processing Engine Pass # 3:
Total Page Count
14
14
Thank You
14