steps to create report.docx
TRANSCRIPT
-
8/17/2019 Steps to Create Report.docx
1/10
Steps to Create Report in Oracle Reports Builder 10g
In Oracle Reports, you have two options for building a paper report. he first one is to use the wi!ards and editors in
Reports Builder. he second one is to define the data "odel and#or layout for your paper report in $%&.
'ere we will discuss the steps to build a paper report using the Report (i!ard.
Step 1) Invo*ing Reports Builder and the Report (i!ard
(hen you invo*e Reports Builder, the (elco"e dialog bo+ gives you the option of using the (i!ard to build a new
report. he Report (i!ard provides an easy stepbystep interface to create a new report.
he Report (i!ard opens with a (elco"e page. o suppress this page, clear the -isplay at startup/ chec* bo+. ou
can reinstate this page in the sa"e way as the (elco"e dialog bo+ in Reports Builder select the (i!ard tab in the
2references dialog bo+ and then select Report (i!ard (elco"e 2age.
3ach page of the Report (i!ard as*s you for infor"ation to help you create your initial report. Step through the
wi!ard pages, selecting 4e+t and Bac*, until you are satisfied with the initial infor"ation that you have entered. On
the last page, select 5inish.
(elco"e to Reports Builder
-
8/17/2019 Steps to Create Report.docx
2/10
Report (i!ard
Step 6) Choosing the &ayout ype
'ere you have to specify the type of layout you want the (i!ard to generate. he available options are)
(eb and 2aper &ayout
(eb &ayout only
2aper &ayout only
-
8/17/2019 Steps to Create Report.docx
3/10
Report &ayout ype
Step 3: Choosing a Report Style
his page of the Report (i!ard shows the various styles of reports. Select abular and then clic* 4e+t.
Report Style
-
8/17/2019 Steps to Create Report.docx
4/10
Step 4: Selecting the Data Source Type
4e+t, you have to define the data source type for your report. hrough the i"ple"entation of the 2luggable ata
Source 72S8 feature in Oracle Reports, the data for your report can co"e fro" any source you choose. Reports
Builder provides interface definitions that act as a translator between Reports Builder and a 2S by redefining
Reports Builder9s re:uests in ter"s your data source uses.
Oracle 3+press Server, O&;2, ?I saves you ti"e and increases the ease of use for developers not
fa"iliar with building S=& state"ents or with the application tables.
o build a :uery using =uery Builder)
1. Select =uery Builder fro" the =uery page in the Report (i!ard.
6. 3nter your userna"e, password, and alias in the Connect dialog bo+ that appears if you have not already
connected to the database. @. Select the data tables to build the :uery.
A. Clic* Include. he tables appear in the selection area.
. Clic* Close to close the Select ata ables window.
. In each table, doubleclic* the colu"n na"es that you want in the :uery, or use the chec* bo+es. o select
all colu"ns, doubleclic* the able title bar.
D. Clic* OE.
-
8/17/2019 Steps to Create Report.docx
5/10
=uery Builder copies the :uery synta+ into the Report (i!ard. ou can "odify the :uery by reentering =uery Builder
or by "odifying the S=& :uery state"ent te+t.
Note: If you prefer to write your own S=& state"ent, enter the synta+ directly in the S=& :uery state"ent area of the
=uery page. ;lternatively, you can i"port the contents of a file by clic*ing I"port S=& =uery.
=uery Builder
Step 6: Selecting Displayed Fields
In the 5ield page, select each field fro" the ;vailable 5ields list and clic* F. he selected fields "ove to the isplayed
5ields list. o display all fields, clic* FF.
ou can alter the se:uence of displayed fields by dragging one field above or below another in the list. he se:uence
of fields in this list deter"ines how the fields appear in the report output. In a tabular report, the fields appear in
se:uence fro" left to right across the page.
5ields that re"ain in the ;vailable 5ields list are available for you to reference in your report definition as hidden fields
or in 2S=& trigger code.
In the report output, the user sees only those fields that you transfer to the isplayed 5ields list.
-
8/17/2019 Steps to Create Report.docx
6/10
isplayed 5ields
Step : Totals and !a"els
In the ne+t two pages of the Report (i!ard, you can create totals based on any of the displayed fields and "odify the
labels and width of the displayed fields.
Totals: Standard S=& aggregate functions are provided for creating totals in your report.
-
8/17/2019 Steps to Create Report.docx
7/10
otal 5ields
!a"els: he field label is displayed on one or "ore lines in the report output. In a tabular report, the labels appear
above the field values.
If the initial label is wider than the field, Reports Builder allows enough space for the label, or displays it on
"ultiple lines.
If you increase the nu"ber of characters in the label te+t in the reentrant (i!ard, the label can appear
truncated in the report output.
-
8/17/2019 Steps to Create Report.docx
8/10
&abels
Step #: Selecting a Report Te$plate
Report e"plates enforce corporate standards as well as create professionalloo*ing paper reports easily.
Select a te"plate fro" the list of predefined te"plate na"es. In a te"plate, the fonts, styles, and colors are already
selected for designated obGects. ; variety of te"plates are available with the standard Reports installation.
o select a predefined te"plate)
1. Select the 2redefined e"plate option button, if it is not already selected.
6. Select a te"plate fro" the e"plate list.
@. Clic* 5inish.
-
8/17/2019 Steps to Create Report.docx
9/10
Report e"plate
Step %: &ie'ing the (aper Report )utput
(hen you finish creating your report in the Report (i!ard, the output appears in the 2aper esign view of the Report
3ditor.
*agni+ying the )utput
he 2aper esign view contains a %agnify tool in the vertical toolbar. his provides a view of the area of layout you
want to see. ou can also use the Hiew "enu to "agnify or reduce the si!e of the output. Select Hiew F oo" to see
your options.
&ie'ing Di++erent (ages
he 2aper esign toolbar contains four buttons, and the specific page option, with which you can scroll through the
pages of your report.
-
8/17/2019 Steps to Create Report.docx
10/10
Report Output
Step ,-: Sa.ing the Report De+inition
Re"e"ber to save the report fre:uently by selecting Save in the toolbar, or by using the 5ile F Save "enu option.
he reco""ended for"at for storing paper reports is with an .rdf e+tension.
If you want to "a*e a copy of the report definition in a different filena"e, use the "enu option 5ile F Save ;s. here
is no toolbar button for the Save ;s option.
Source: Oracle