0% found this document useful (0 votes)
19 views9 pages

BASICS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views9 pages

BASICS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

REPORT

MANIPULATION CASES :

LOWER ( ‘SQL COURSE’ ) = sql course

UPPER ( ‘SQL COURSE’ ) = SQL COURSE

INITCAP ( ‘SQL COURSE’ ) = Sql Course


---------------------------------------------------------------------------------------------------------------------
MANIPULATION FUNCTIONS :

Select CONCAT( ‘raj’ , ‘kumar’ ) from Dual ----- rajkumar

Select SUBSTR ( ‘rajkumar’,’2’,’6’ ) from Dual ---- ajkuma

Select LENGTH ( ‘rajkumar’ ) from Dual ---- 8

Select INSTR ( ‘rajsugumaran’ , ‘m’ ) from Dual ---- 8

Select LPAD ( ‘raj’,’5’,’#’ ) from Dual ---- ##raj

Select RPAD ( ‘raj’,’5’,’#’ ) from Dual ---- raj##

Select REPLACE ( ‘rajkumar’ , ‘raj’ , ‘ram’ ) from Dual ----- ramkumar

Select TRANSLATE ( ‘rajkumar’ , ‘raj’ , ‘dks’ ) from Dual ----- dkskumkd

Select LTRIM ( ‘rajkumar’ , ‘r’ ) from Dual ----- ajkumar

Select RTRIM ( ‘rajkumar’ , ‘r’ ) from Dual ----- rajkuma

---------------------------------------------------------------------------------------------------------------------
TOAD : Tool For Oracle Application Developers.
-------------------------------------------------------------------------------------------------------------------------

DATA MODEL :

The Report Editor's Data Model view is a work area in which you create, define, and modify data
model objects (queries, groups, columns, parameters, and links) to be used in your report.
--------------------------------------------------------------------------------------------------------------------------
MATRIX :
A matrix (cross-product) report is a cross-tabulation of four groups of data
1. One group of data is displayed across the page.
2. One group of data is displayed down the page.
3. One group of data is the cross-product, which determines all possible locations where the
across and down data relate and places a cell in those locations.
4. One group of data is displayed as the "filler" of the cells
--------------------------------------------------------------------------------------------------------------------------
MATRIX REPORT FORMAT :

Horizontal Repeating frame

Table : matrix group top box

Properties : print direction = down

Vertical Repeating frame

Table : matrix group bottom box

Properties : print direction = across

Center of the 2 repeating frames draw this 3rd repeating frame :

Table : matrix group outer of down side box

Properties : print direction = across / down


---------------------------------------------------------------------------------------------------------------------

REPORT TRIGGER :

1. BEFORE PARAMETER FORM


Fires before the runtime parameter form is displayed ,from this trigger ,you can access and
change the values of parameters ,pl/sql global variables , and report level columns.

2. AFTER PARAMETER FORM


Fires after the runtime parameter form is displayed. From this trigger , you can access
parameters and check their values. This triggers can also be used to change parameters values.

3. BEFORE REPORT
Fires before the report runs but after queries are parsed.

4. BETWEEN PAGES
Fires before each page of the report is formatted, except the very first page. This trigger
can be used for customized page formatting.

5. AFTER REPORT
Fires after you exit the paper design view , or after report output is sent to a specified
destination , such as a file, a printer ,or an e-mail id.
-------------------------------------------------------------------------------------------------------------------------------
PAPER LAYOUT :

1. HEADER SECTION---- BODY, MORGIN


The report header pages appear once at the beginning of each report on a set
of separate pages. They can contain text, graphics, data, and computations.

2. MAIN SECTION
  The body/margin pages appear between the header and trailer pages, and are
the bulk of the report. Each physical page in this section consists of a body and a
margin. When you first enter the Paper Layout view of a new report, you are placed in
the Main Section. You can create, modify, and delete objects in either region.

3. TRAILER SECTION
The report trailer pages appear once at the end of each report on a set of separate
pages. They can contain text, graphics, data, and computations
-------------------------------------------------------------------------------------------------------------------------------

ANCHORS :

Anchors determine the vertical and horizontal positioning of a child object relative to its
parent. The child object may be either outside of or contained within the parent.
-------------------------------------------------------------------------------------------------------------------------------
PARAMETERS :
A parameter is a variable whose value can be set at runtime (for example, from the
Runtime Parameter Form or the command line). Parameters are especially useful for modifying
SELECT statements and setting PL/SQL variables at runtime.
-------------------------------------------------------------------------------------------------------------------------------
USER PARAMETERS :
You can create a user parameter in the following ways:
1.Create a parameter in the Object Navigator.
2.Use a bind parameter reference in a query, which causes Reports Builder to
automatically create the parameter the first time it is referenced
------------------------------------------------------------------------------------------------------------------------------
ASCII :
Acronym for American National Standard Code for Information Interchange.

PAPER PARAMETER FORM :

1. FIELDS
2. GRAPHICAL BOILERPLATE
3. TEXT BOILERPLATE
4. IMAGE BOILERPLATE
-------------------------------------------------------------------------------------------------------------------------------

DATA MODEL :
1. SYSTEM PARAMETERS
2. USER PARAMETERS
3. QUERIES
4. GROUPS
5. FORMULA COLUMNS
6. SUMMARY COLUMNS
7. PLACEHOLDER COLUMNS
8. DATA LINKS
-------------------------------------------------------------------------------------------------------------------------------
SYSTEM PARAMETERS:

1. COPIES
2. DESFORMAT
3. DESNAME
4. DESTYPE
5. MODE
6. ORIENTATION
7. PRINTJOB
-------------------------------------------------------------------------------------------------------------------------------
REPORT STYLES :

1. Tabular report
A tabular report is the most basic type of report you can build. The report
output is organized in a multicolumn, multirow format, with each column corresponding to
a column selected from the database.
2. Group above report
A group above report (also called a break report) contains multiple
groups in its data model. It is a "master/detail" report, where there may be a lot of
information in the master group. For every master group, the related values of the detail
group(s) are fetched from the database and are displayed below the master information
3. Group left report
A group left report (also called a break report) contains multiple groups in its data
model, dividing the rows of a table based on a common value in one of the columns.
4. Form like report
A form-like report displays one record per page, displaying field values to
the right of field labels
5. Letter report
Form letter reports contain database values embedded in boilerplate text
(boilerplate text can be defined as any text that appears each time the report is run). It can
be text generated by Oracle Reports, text you create, or text linked from a file.

6. Mailing label report


A mailing label report consists of data displayed in a format suitable for use as
address labels on envelopes. The labels can be printed in one or many columns, and can
begin at any position. Using the Report Wizard, you can specify the format for your
mailing labels.
7. Matrix report
-------------------------------------------------------------------------------------------------------------------------------

REPORT WIZARD :
The Report Wizard helps you to quickly and easily define a single-query report for both
Web and paper layouts
-------------------------------------------------------------------------------------------------------------------------------
OBJECT NAVIGATOR :
The Object Navigator provides a hierarchical display of all objects in a report or template,
including attached libraries and program units.
-------------------------------------------------------------------------------------------------------------------------------
QUERY BUILDER :
The Object Navigator provides a hierarchical display of all objects in a report or template,
including attached libraries and program units.
------------------------------------------------------------------------------------------------------------------------------
FRAMES :
Frames surround other objects and protect them from being overwritten or pushed by other
objects.
------------------------------------------------------------------------------------------------------------------------------
REPEATING FRAMES:
Repeating frames surround all of the fields that are created for a group’s columns. The
repeating frame prints (is fired) once for each record of the group.
------------------------------------------------------------------------------------------------------------------------------
NESTED MATRIX :
A nested matrix report is a matrix report in which at least one parent/child relationship
appears within the matrix grid..
-------------------------------------------------------------------------------------------------------------------------------
FORMS
FORMS MODULES :
1. TRIGGERS
2. ALERTS
3. ATTACHED LIBRARIES
4. DATA BLOCKS
5. CANVASES
6. EDITORS
7. LOVS
8. OBJECT GROUPS
9. PARAMETERS
10. POPUP MENUS
11. PROGRAM UNITS
12. PROPERTY CLASSES
13. RECORD GROUPS
14. REPORTS
15. VISUAL ATTRIBUTES
16. Windows
17. Menus
18. Pl/sql libraries
19. OBJECT LIBRARIES--- PAYOBJ
20. BUILT IN PACKAGES
21. DATA BASE OBJECTS
-------------------------------------------------------------------------------------------------------------------------------
CANVASES :

When you assign multiple content canvases and at least one stacked canvas to the same window,
be aware of how Oracle Forms manages content canvases in the stacking order. Since Oracle
Forms can display only one content canvas at a time in a single window, it treats all content
canvases assigned to the same window as if each one had the same position in the stacking order,
relative to the stacked canvases assigned to that window.

1. CONTENT CANVAS
2. STACKED CANVAS
3. VERTICAL TOOLBAR
4. HORIZONTAL TOOLBAR
5. TAB CANVAS
------------------------------------------------------------------------------------------------------------------------------
BOILERPALTE TOOLS :
1. Arc tool
2. Ellipse tool
3. File link
4. Freehand tool
5. Line tool
6. Polygon tool
7. Polyline tool
8. Rectangle tool
9. Rounded rectangle tool
10. Text tool
-------------------------------------------------------------------------------------------------------------------------------

FORM TRIGGERS :

Block Processing triggers


Interface Event triggers
Key triggers
Master-Detail triggers
Message-Handling triggers
Mouse Event triggers
Navigation triggers
On triggers
Post triggers
Pre triggers
Query-Time triggers
Stored Procedure triggers
Transactional triggers
Validation triggers
When triggers
-----------------------------------------------------------------------------------------------------------------

BLOCKS :
A block is a container that holds a related group of objects, such as text items, Lists, and
buttons.

All blocks are either single-record or multi-record blocks:


 A single-record block displays one record at a time.
  A multi-record block displays more than one record at a time.

There are two types of blocks, data and control.

A data block is associated with data (table columns) within a database. By default, the
association between a data block and the database allows operators to automatically query,
update, insert, and delete rows within a database.

Data blocks can be based on database tables, views, procedures, or transactional triggers.

A control block, in contrast, is not associated with the database, and the items in a control
block do not relate to table columns within a database.
----------------------------------------------------------------------------------------------------------------
ALERTS :

An alert is a modal window that displays a message notifying the operator of some application
condition.
----------------------------------------------------------------------------------------------------------------
EDITORS :
There are three editors that can be used at runtime:
1. The default editor,
2. a system editor,
3. user-named editor.
Default Editor :

 The default editor provides standard editing features, including search/replace and cut,
copy, and paste. The default editor is built into every form and is automatically available
from every text item.

User-Named Editor   :

A user-named editor has the same text editing functionality as the default editor, but,
because it is a named object, you can specify editor attributes such as window display
size, position, and title. Also, a user-named editor can be displayed programmatically
with the built-in procedure SHOW_EDITOR, independent of any particular text item.
-------------------------------------------------------------------------------------------------------------

LOVS :
An LOV is a scrollable popup window that provides the end user with either a single or
multi-column selection List.

Every List of values (LOV) is associated with a specific record group. The LOV is the
interface object that allows operators to view, scroll, and select the records stored in the
underlying record group. When you define an LOV at design time, you must specify the
record group on which the LOV will be based.

When you create an LOV, you can also create the underlying record group directly from
the Create LOV dialog.
-------------------------------------------------------------------------------------------------------------
OBJECT GROUP :

An object group is a container for a group of objects. You define an object group when
you want to package related objects so you can copy or subclass them in another
module.
---------------------------------------------------------------------------------------------------------------
PARAMETERS :

Parameters provide a simple mechanism for defining and setting the values of inputs
that are required by a form at startup. Form parameters are variables of type CHAR,
NUMBER, or DATE that you define at design time.
----------------------------------------------------------------------------------------------------------------
Menus :
Menus are Lists of items that end users use to select specific functions or operations.
Each item on a menu represents a command or a submenu.

Oracle Forms supports three basic menu types:


1. form menus
2. menu toolbars
3. popup menus
Form Menus :
A form menu typically includes standard form-level commands for navigation, editing,
and database interaction. Every form runs with one of the following form menus:
1. default
2. custom
3. none
Menu Toolbars:
If you create any type of custom form menu module for your form, you also can
derive a menu toolbar from that form menu. A menu toolbar displays selected
menu items (from the current form menu) as icons on a horizontal or vertical
ribbon.

Popup Menus :
In addition to one form menu, each form can include any number of popup menus.
Popup menus are context-sensitive menus attached to individual canvases and
items within a form.
---------------------------------------------------------------------------------------------------------------------

PROPERTY CLASSES :
A property class is a named object that contains a list of properties and their
settings. Once you create a property class you can base other objects on it. An
object based on a property class can inherit the setting of any property in the class
that makes sense for that object.
----------------------------------------------------------------------------------------------------
VISUAL ATTRIBUTES :
Visual attributes are the font, color, and pattern properties that you set for form and menu objects
that appear in your application's interface. Visual attributes can include the following properties:

Font properties: Font Name, Font Size, Font Style, Font Width, Font Weight.
Color and pattern properties: Foreground Color, Background Color, Fill Pattern
------------------------------------------------------------------------------------------------------------------
OBJECT LIBRARIES :

The Object Library provides an easy method of reusing objects and enforcing standards across
the entire development organization.
----------------------------------------------------------------------------------------------------------------
Sql : Structured Query Language.

Pl / Sql :

You might also like