3.2.oracle Reports
3.2.oracle Reports
Oracle Reports
Oracle Reports
3
Reports Overview
Oracle Reports is tool for developing, displaying and
printing production quality reports. It is designed for
application developers who are familiar with SQL and
PL/SQL. Following types of reports can be created
using Oracle reports
• Tabular
•Group Left
•Group Above
•Matrix
•Matrix with Group
•Form Like
•Mailing Label
•Form Letter
Oracle Reports
4
Basic Concepts
Oracle Reports
5
Data Model
Oracle Reports
6
Data Model
Oracle Reports
7
Columns
Columns
Columns contain the data values for a report. Default
report columns corresponds to the table columns
included in each query’s select list.
Summary Column
Summary Column is a computation that is performed
on all the records of a single column. Eg sum of all
the salaries. Oracle reports has the Average, Count,
First, Last, Maximum and Minimum as summary.
Formula Columns
A formula is a computation performed on a single
record spanning one or more columns.
Oracle Reports
8
Columns
Placeholder Columns
A place holder is a dummy column for which you can
conditionally set the data type and value via PL/SQL
or a user exit.
Parameters
Parameters are variables fr your report that enables
you to change the selection criteria at runtime.These
parameters can be referenced elsewhere in the
report such as PL/SQL constructs providing
conditional logic for the report.
Oracle Reports
9
Datalinks
Datalinks
Data links are used to establish parent-child
relationships between queries and groups via column
matching.This data link is converted into a SQL
clause when the report is executed.
Oracle Reports
10
Datalinks
Oracle Reports
11
Datalinks
Oracle Reports
12
Layout Editor
Oracle Reports
13
Fields, Boilerplates
Fields
Fields act as place holders for columns. They define
the formatting attributes for all columns displayed in
the report. A field is one of the objects that can be
located inside a frame or repeating frame.
Boilerplate
Boilerplate consists of text and graphics that appear
in a report each time it is run. E.g. Label for fields
Oracle Reports
14
Anchors
Anchors
Anchors fasten an edge of one object to an edge of
another object,ensuring that they maintain their
relative position.
Oracle Reports
15
Layout Regions
Header
The report header pages appear once at the
beginning of each report on a set of separate
pages.They contain text, graphics, data and
computations.
Main (Body/Margin)
The body pages appear between the header and the
trailer pages, and are the bulk of the report. Each
physical page in this section consists of a body
and a margin. The body contains the text, graphics
data and computation.
Oracle Reports
16
Layout Regions
Trailer
The report trailer pages appear once at the end of
each report on a set of separate.
Oracle Reports
17
Report Modes
Confine Mode
Confine mode restricts the movement of the fields
outside the borders of its repeating frame.
Flex Mode
Flex mode resizes all the parent objects when the
child object bumps into a parent border.
Oracle Reports
18
Report Parameters
R e p o rt P a ra m e te rs
U s e r P a ra m e te rs S y s te m P a ra m e te rs
B in d P a r a m e t e r s L e x ic a l P a r a m e t e r s
Oracle Reports
19
Report Triggers
Oracle Reports
20
SRW Package
Oracle Reports
21
End-of-Session
Q&A
Oracle Reports
22
End-of-Session
Thank You
Oracle Reports