Академический Документы
Профессиональный Документы
Культура Документы
1 of 2
http://learnoracleeasy.blogspot.in/2013/06/oracle-reports-material-part...
1. Choose Query Builder from the query page in the Report wizard.
2. Enter your username, password, and alias in the Connect dialog box that appears if
you have not already connected to the database.
3. Select the data tables to build the query.
4. Choose Include. The tables appear in the selection area.
5. Choose Close to close the Select Data Tables window.
6. In each table (if select multiple tables), double-click the column names that you
want in the query, or use the check box. To select all columns, double-click the
Table title bar.
7. Choose OK.
Query Builder copies the query syntax into the Report wizard. You can
modify the
query by reentering the Query Builder or by modifying the SQL query
stmt text.
How to Create a New Report
To create a new report with the wizard when you are already in the Report Builder,
follow these steps:
1. Select the Report node(module name) in the Object Navigator.
2. Choose Create, the green plus sign in the vertical toolbar.
3. Choose Use the Report Wizard.
Creating a Form-Like Report
There are 3 significant features in the Form-like style that differ from the Tabular
style.
1. Labels appear to the left of each field.
2. Each field appears to the left of the previous field, across the page.
3. Each record appears on a new page.
When you choose the Mailing Label or Form Letter report style, the wizard displays
only four tab pages: Style, Data, and Template pages as before, and the Text page.
21-12-2015 17:48
2 of 2
http://learnoracleeasy.blogspot.in/2013/06/oracle-reports-material-part...
only four tab pages: Style, Data, and Template pages as before, and the Text page.
The selected field name appears in the text area, enclosed in optional angled brackets
(<>) and prefixed by an ampersand (&). This indicates that the field name is a
variable.
Each variable is replaced by a specific value at run time. You can type directly into
the text area instead of selecting from the Available Fields list. However, remember
to prefix each field name (variable) with an ampersand.
Any word that you type without an ampersand appears as a text string in your
mailing
label output.
For example:
Text Area
Output
LAST_NAME -------LAST_NAME
&<LAST_NAME>---- Velasquez
The optional angled brackets allow you to display two variables side by side with no
separating space.
What Is the Difference Between Mailing Labels and Form Letters?
Mailing Label:- Multiple records on one page.
Form Letter: - One record on each page.
21-12-2015 17:48