Home
/
Middleware
/
Oracle Forms and Reports
1/337
Contents
List of Examples
List of Figures
List of Tables
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documentation
Conventions
Accessing the Example Reports
Accessing the Data Sources
1
Basic Concepts
1.1
Oracle Reports Builder
1.1.1
About Oracle Reports Builder
1.1.2
About this release
1.2
Reports
1.2.1
About Reports
1.2.1.1
Creating a new report using the Report Wizard
1.2.1.2
Creating a new report manually
1.2.2
About Web Reports
1.3
Report Styles
1.3.1
About tabular reports
1.3.2
About group above reports
1.3.3
About group left reports
1.3.4
About form-like reports
1.3.5
About form letter reports
1.3.6
About mailing label reports
1.3.7
About matrix reports
1.3.7.1
Matrix data model
1.3.7.2
Matrix layout
1.4
Wizards
1.4.1
About the Report Wizard
1.4.2
About the Report Block Wizard
1.4.3
About the Data Wizard
1.4.4
About Graphs and the Graph Wizard
1.5
The Object Navigator
1.5.1
About the Object Navigator
1.5.2
About Object Navigator views
1.6
The Report Editor
1.6.1
About the Report Editor
1.6.2
About the Data Model view
1.6.3
About the Paper Layout view
1.6.4
About the Paper Design view
1.6.5
About the Paper Parameter Form view
1.6.6
About the Web Source view
1.6.7
About the tool palette and toolbar
1.7
Data Model Objects
1.7.1
About queries
1.7.2
About groups
1.7.3
About database columns
1.7.4
About data links
1.7.5
About Query Builder
1.8
Layout Objects
1.8.1
About frames
1.8.2
About repeating frames
1.8.3
About frame and repeating frame sizing
1.8.4
About fields
1.8.5
About boilerplate objects
1.9
Parameter Form Objects
1.9.1
About parameters
1.9.2
About Parameter Form fields
1.9.3
About Parameter Form boilerplate
1.9.4
About Parameter Forms for Web reports
1.10
The Property Inspector
1.10.1
About the Property Inspector
1.10.1.1
About making multiple selections in the Property Inspector
1.11
Runtime Views
1.11.1
About the Runtime Parameter Form
1.11.2
About the Previewer
1.12
Oracle Reports Components
2
Advanced Concepts
2.1
Reports
2.1.1
About report titles
2.1.2
About report sectioning and sections
2.1.3
About the report unit of measurement
2.1.4
About the report dimensions
2.1.5
About fonts in reports
2.1.6
About conditional formatting
2.1.7
About nested matrix reports
2.1.8
About matrix with group reports
2.2
Web Reports
2.2.1
About JavaServer Pages (JSPs) and servlets
2.2.1.1
Using JSPs in Oracle Reports
2.2.1.2
Opening or running an encoded JSP-based Web report
2.2.1.3
Embedding a character set in a JSP file dynamically
2.2.2
About previewing JSP-based Web reports
2.2.3
About Web links for HTML output
2.2.4
About Web links for PDF output
2.2.5
About hyperlinks
2.2.6
About graph hyperlinks
2.2.7
About hyperlink destinations
2.2.8
About bookmarks
2.2.9
About application command line links
2.2.10
About before and after escapes
2.2.11
About style sheets
2.3
Data Model Objects
2.3.1
About summary columns
2.3.2
About formula columns
2.3.3
About placeholder columns
2.3.4
About referencing columns and parameters
2.3.4.1
About bind references
2.3.4.2
About lexical references
2.3.4.3
Differences between bind and lexical references
2.3.5
About non-linkable queries
2.3.6
About links versus groups
2.3.7
About matrix objects
2.4
Layout Objects
2.4.1
About layout objects
2.4.2
About layout defaulting
2.4.3
About images
2.4.4
About anchors
2.4.4.1
Implicit anchoring algorithm
2.4.5
About changing colors and patterns
2.4.6
About resizing objects
2.4.7
About moving and layering objects in the Paper Layout view
2.5
Parameter Form Objects
2.5.1
About Parameter Form HTML extensions
2.6
PL/SQL
2.6.1
About the PL/SQL Editor
2.6.2
About the Stored PL/SQL Editor
2.6.3
About the Syntax Palette
2.6.4
About program units
2.6.5
About stored program units
2.6.6
About external PL/SQL libraries
2.6.7
About attached libraries
2.6.8
About formulas
2.6.9
About group filters
2.6.10
About REF CURSOR queries
2.6.11
About DML and DDL
2.6.12
About built-in packages
2.6.12.1
About the Oracle Reports Builder built-in package (SRW)
2.6.12.2
About the Tools built-in packages
2.6.13
About triggers
2.6.13.1
About report triggers
2.6.13.2
About format triggers
2.6.13.3
About validation triggers
2.6.13.4
About database triggers
2.7
Templates
2.7.1
About templates
2.7.2
About template attributes
2.7.3
About applying templates
2.7.4
About inheritance in templates
2.7.5
About the Template Editor
2.8
Output Formats and Capabilities
2.8.1
About format order
2.8.2
About batch reporting
2.8.3
About report distribution
2.8.3.1
About the DST file
2.8.4
About pluggable destinations
2.8.5
About event-driven publishing
2.8.6
About switching the printer tray
2.8.7
About XML in reports
2.8.8
About HTML and HTMLCSS output
2.8.8.1
About HTML page streaming
2.8.9
About HTML formatting
2.8.10
About PDF output
2.8.11
About RTF output
2.8.12
About delimited output
2.8.13
About Enhanced Spreadsheet output
2.8.14
About text output
2.8.15
About creating an ASCII (character-mode) report
2.9
Data Sources
2.9.1
About database roles
2.9.2
About Oracle Net Services
2.9.3
About user exits
2.9.4
About the Oracle Call Interface (OCI)
2.10
Debugging Tools
2.10.1
About the debugging process
2.10.2
About the PL/SQL Interpreter
2.10.3
About the Source pane
2.10.4
About debug commands in the PL/SQL Interpreter
2.10.5
About debug actions
2.10.5.1
About creating a debug action
2.10.6
About the current execution location
2.10.7
About the current scope location
2.10.8
About debug levels
2.10.9
About modifying code at runtime
3
Visual Index
3.1
Part 1: Building Basic Reports
3.1.1
Building a tabular report
3.1.2
Building a mailing label report
3.1.3
Building a form letter report
3.1.4
Building a master/master report
3.1.5
Building a summary report
3.2
Part 2: Building Group Reports
3.2.1
Building a single-query group report
3.2.2
Building a two-query group report
3.2.3
Building an across group report
3.2.4
Building a group left summary report
3.2.5
Building a group left formula report
3.3
Part 3: Building Reports with Special Formatting
3.3.1
Building a wrapped field report
3.3.2
Building a header and footer report
3.3.3
Building a header with database values report
3.3.4
Building a report with graphics, text, and color
3.3.5
Building a report that renumbers pages by repeating frame
3.3.6
Building an intermixed fields report
3.3.7
Building a report that suppresses labels
3.3.8
Building a conditional form letter report
3.3.9
Building a report with conditional highlighting
3.3.10
Building a report with dynamic graphics
3.4
Part 4: Building Matrix Reports
3.4.1
Building a matrix report
3.4.2
Building a nested matrix report
3.4.3
Building a matrix with group above report
3.5
Part 5: Building Reports for Business Cases
3.5.1
Building a time series calculations report
3.5.2
Deploying a paper report to Microsoft Excel output
3.5.3
Building a report with aggregate data
3.5.4
Building a check printing report with spelled-out cash amounts
3.5.5
Building a report using a preprinted form
3.5.6
Building an invoice report
3.5.7
Building a ranking report
3.5.8
Building a report with a simple table of contents and index
3.5.9
Building a report with a multilevel table of contents
3.5.10
Bursting and distributing a report
3.5.11
Building a report with multibyte characters for PDF output
3.6
Part 6: Building Reports with PL/SQL and Java
3.6.1
Building a PL/SQL report
3.6.2
Building a paper report with REF CURSORs
3.6.3
Building a simple Parameter Form for a JSP-based Web report
3.6.4
Building a report with a barcode
3.6.5
Building an accessible JSP-based Web report
3.7
Part 7: Building Reports with Pluggable Data Sources
3.7.1
Building a report with an XML pluggable data source
3.7.2
Building a report with a text pluggable data source
3.8
Summary
4
How To...
4.1
Access Oracle Reports Documentation
4.1.1
Using the Oracle Reports online Help
4.1.2
Locating other documentation
4.2
Set Properties and Preferences
4.2.1
Displaying the Property Inspector
4.2.2
Setting report properties
4.2.3
Setting report preferences
4.2.3.1
Using the Auto Save Feature
4.2.4
Setting preferences for the Object Navigator
4.2.5
Setting properties for an ASCII (character-mode) report
4.2.6
Setting color palette preferences
4.2.7
Setting properties of multiple objects
4.2.8
Comparing the properties of one object to another
4.3
Perform Common Tasks
4.3.1
Connecting to a database
4.3.2
Opening a report
4.3.3
Saving a report
4.3.4
Copying a report
4.3.5
Renaming a report
4.3.6
Deleting a report
4.3.7
Selecting and deselecting objects
4.3.7.1
Selecting single objects
4.3.7.2
Selecting multiple objects
4.3.7.3
Selecting objects owned by a frame
4.3.7.4
Selecting grouped objects
4.3.7.5
Selecting all objects in a report region
4.3.7.6
Selecting overlapped objects
4.3.7.7
Deselecting single objects
4.3.7.8
Deselecting multiple objects
4.3.8
Deleting an object
4.4
Work with the Object Navigator
4.4.1
Displaying a Report Editor view from the Object Navigator
4.4.2
Expanding and collapsing nodes
4.4.3
Searching for nodes
4.4.4
Changing Object Navigator views
4.4.5
Setting preferences for the Object Navigator
4.5
Work with Reports
4.5.1
Creating a report
4.5.2
Creating a multiquery group above report
4.5.3
Creating a nested matrix report
4.5.4
Creating a default layout for a report
4.5.5
Creating an additional report layout
4.5.6
Adding a title to a report
4.5.7
Adding a table of contents to a report
4.5.8
Adding index to a report
4.5.9
Creating an ASCII (character-mode) report
4.5.10
Preparing a multiplatform report
4.5.11
Preparing a report for translation into other languages
4.6
Work with Web Reports
4.6.1
Creating a Web report
4.6.2
Viewing the source code for a Web report
4.6.3
Adding report data to an existing Web page (HTML file)
4.6.4
Adding a report block to a Web page
4.6.5
Adding an image
4.6.6
Adding a graph
4.6.7
Editing a graph
4.6.8
Adding a graph hyperlink
4.6.9
Preparing a paper-based report for the Web
4.6.10
Adding Web links to paper-based reports
4.6.10.1
Using the user interface
4.6.10.2
Using PL/SQL
4.7
Run and Dispatch a Report
4.7.1
Running and dispatching a report from the user interface
4.7.2
Running a report from the command line
4.7.3
Running a report using a command file
4.7.4
Running a report to a remote Reports Server
4.7.5
Generating HTML or HTMLCSS output
4.7.6
Generating PDF output
4.7.7
Generating XML output
4.7.8
Generating RTF output
4.7.9
Generating text output
4.7.10
Generating delimited output
4.7.11
Generating Enhanced spreadsheet output
4.7.12
Distributing a report to multiple destinations
4.7.13
Deploying a report
4.7.14
Changing orientation
4.7.15
Suppressing the Parameter Form
4.7.16
Viewing report output
4.7.16.1
Viewing the printable area
4.7.16.2
Displaying report output in the Paper Design view
4.7.16.3
Displaying report output in the Previewer
4.7.16.4
Displaying report output in your Web browser
4.7.16.5
Displaying individual pages of HTML report output
4.7.16.6
Scrolling and paging
4.7.16.7
Splitting the viewing region
4.7.16.8
Magnifying or reducing the output
4.7.17
Printing a Report
4.7.17.1
Printing a report from the Paper Design or Paper Layout view
4.7.17.2
Printing a report from the Previewer
4.7.17.3
Printing a report from your Web browser
4.7.17.4
Printing a report on a preprinted form
4.7.17.5
Switching the printer tray
4.7.17.6
Printing a report on UNIX
4.7.18
E-mailing a report
4.8
Work with the Data Model
4.8.1
Creating a query
4.8.1.1
Creating a query: Report Wizard
4.8.1.2
Creating a query: Data Wizard
4.8.1.3
Creating a query: SQL Query tool
4.8.1.4
Creating a query: XML Query tool
4.8.1.5
Creating a query: JDBC Query tool
4.8.1.6
Creating a query: Text Query tool
4.8.1.7
Creating a query: REF CURSOR Query tool
4.8.2
Modifying a query
4.8.3
Using Query Builder
4.8.4
Selecting HTML tags from the database
4.8.5
Selecting an image from the database
4.8.6
Selecting an image URL from the database
4.8.7
Creating a break group
4.8.8
Creating a matrix (cross-product) group
4.8.9
Creating a data link
4.8.10
Creating or editing a formula column
4.8.11
Creating a summary column
4.8.12
Creating or editing a placeholder column
4.9
Work with the Report Layout
4.9.1
General Layout Objects
4.9.1.1
Creating a field object
4.9.1.2
Creating a frame or repeating frame
4.9.1.3
Creating a matrix object
4.9.1.4
Creating a barcode using a barcode font
4.9.1.5
Applying conditional formatting to a layout object
4.9.2
Text Objects
4.9.2.1
Creating a boilerplate object for text
4.9.2.2
Creating a boilerplate object for text that displays every other page
4.9.2.3
Creating a boilerplate text object for HTML tags
4.9.2.4
Editing text
4.9.2.5
Referencing a field in boilerplate text
4.9.2.6
Linking a boilerplate text object to a file
4.9.2.7
Linking an HTML text object to a file
4.9.2.8
Wrapping text in a field
4.9.2.9
Changing text attributes
4.9.2.10
Changing text attributes using PL/SQL
4.9.3
Page Numbers or Date/Time Stamps
4.9.3.1
Creating page numbers
4.9.3.2
Resetting page numbers
4.9.3.3
Creating a time or date stamp
4.9.4
Borders
4.9.4.1
Showing or hiding object borders
4.9.4.2
Changing object border attributes
4.9.4.3
Changing the current mode (Confine or Flex)
4.9.5
Anchors
4.9.5.1
Anchoring objects together
4.9.5.2
Viewing implicit anchors
4.9.5.3
Moving an anchor
4.9.6
Colors, Patterns, and Highlighting
4.9.6.1
Setting color palette preferences
4.9.6.2
Changing colors
4.9.6.3
Changing patterns
4.9.6.4
Changing colors and patterns using PL/SQL
4.9.6.5
Modifying the color palette
4.9.6.6
Importing or exporting a color palette
4.9.6.7
Highlighting a value
4.9.6.8
Highlighting a row
4.9.6.9
Alternating row colors
4.9.7
Format Masks
4.9.7.1
Specifying date and time format masks
4.9.7.2
Specifying number format masks
4.9.7.3
Applying a format mask to a numeric object
4.9.7.4
Applying a format mask to a date object
4.9.7.5
Adding a custom format mask
4.9.7.6
Changing the format mask for multiple fields
4.9.8
Graphic or Image Objects
4.9.8.1
Adding an image
4.9.8.2
Adding a graph
4.9.8.3
Editing a graph
4.9.8.4
Adding a graph hyperlink
4.9.8.5
Creating a drawing object
4.9.9
Page or Group Headers or Footers
4.9.9.1
Creating a text heading
4.9.9.2
Creating a heading that includes database values
4.9.9.3
Creating a group header or footer
4.9.10
Margin, Header Page, or Trailer Page Objects
4.9.10.1
Creating a margin object
4.9.10.2
Creating a header page or trailer page object
4.9.11
Move Objects
4.9.11.1
Moving multiple objects
4.9.11.2
Moving an object outside its parent
4.9.11.3
Adjusting parent borders automatically
4.9.11.4
Moving a column in report output
4.9.11.5
Offsetting detail objects in a group report
4.9.11.6
Aligning objects
4.9.11.7
Changing object layering
4.9.11.8
Rotating a boilerplate object
4.9.12
Resize Objects
4.9.12.1
Resizing objects
4.9.12.2
Making multiple objects the same size
4.9.12.3
Resizing object borders
4.9.13
Change Spacing
4.9.13.1
Changing columns labels or widths
4.9.13.2
Changing spacing within a text object
4.9.13.3
Changing the default layout spacing
4.9.13.4
Changing the spacing between all rows
4.9.13.5
Adding blank lines between groups of rows
4.9.14
Modify the Page Layout
4.9.14.1
Adjusting margins
4.9.14.2
Adding a page break
4.10
Work with Report Sections
4.10.1
Displaying a section layout view
4.10.2
Creating a default layout for a section
4.11
Work with Parameters and the Parameter Form
4.11.1
Using a pre-defined system parameter
4.11.2
Creating a user parameter
4.11.3
Creating a list of values (LOV) for a parameter
4.11.4
Validating a parameter value at runtime
4.11.5
Creating a default Parameter Form
4.11.6
Selecting parameters to include in the Runtime Parameter Form
4.11.7
Displaying the Parameter Form at runtime
4.11.8
Adding more pages to the Runtime Parameter Form
4.11.9
Passing parameters to reports running in batch mode
4.11.10
Creating an HTML Parameter Form header using PL/SQL
4.11.11
Creating an HTML Parameter Form footer using PL/SQL
4.11.12
Creating HTML Parameter Form input or select events
4.11.13
Changing HTML Parameter Form input to uppercase
4.12
Define a Template
4.12.1
Creating a template
4.12.2
Defining default template attributes
4.12.3
Defining override template attributes
4.12.4
Applying a template to a report
4.12.5
Formatting the report title in a template
4.12.6
Adding items and objects to a template
4.12.7
Modifying objects in the template margin
4.12.8
Modifying the color, pattern, or border of body objects in a template
4.12.9
Adding a template to the pre-defined templates list
4.12.10
Creating an HTML template for a report portlet
4.13
Use PL/SQL in a Report or Template
4.13.1
Using a built-in package
4.13.2
Working with the PL/SQL Editor
4.13.2.1
Defining PL/SQL
4.13.2.2
Searching and replacing text in a program unit
4.13.2.3
Editing a program unit
4.13.2.4
Inserting syntax into the PL/SQL Editor
4.13.3
Creating or editing report-level or template-level PL/SQL
4.13.3.1
Creating a local program unit
4.13.3.2
Creating a stored program unit
4.13.3.3
Deleting a program unit
4.13.3.4
Moving a program unit between client and database server
4.13.3.5
Creating a report trigger
4.13.3.6
Deleting a report trigger
4.13.3.7
Creating a database trigger
4.13.4
Creating or editing object-level PL/SQL
4.13.4.1
Creating or editing a format trigger
4.13.4.2
Creating or editing a group filter
4.13.4.3
Creating or editing a formula column
4.13.4.4
Creating a placeholder column
4.13.4.5
Changing colors and patterns using PL/SQL
4.13.5
Creating or editing an external PL/SQL library
4.13.5.1
Creating an external PL/SQL library
4.13.5.2
Adding a program unit to an open library
4.13.5.3
Editing a program unit in a PL/SQL library
4.13.5.4
Removing a program unit from a PL/SQL library
4.13.5.5
Attaching a PL/SQL library
4.13.5.6
Converting external PL/SQL libraries
4.13.6
Compiling and running program units
4.13.6.1
Compiling a single program unit
4.13.6.2
Compiling all program units
4.13.6.3
Compiling all uncompiled program units
4.14
Debug a Report
4.14.1
Debugging a report
4.14.2
Running a report in debug mode
4.14.3
Setting a breakpoint
4.14.4
Setting a debug trigger
4.14.5
Browsing debug actions
4.14.6
Editing a debug action
4.14.7
Disabling and enabling debug actions
4.14.8
Deleting a debug action
4.14.9
Running a program unit in the PL/SQL Interpreter
4.14.10
Inserting a Navigator pane in the PL/SQL Interpreter
4.14.11
Controlling program unit execution
4.14.12
Stepping through the code
4.14.13
Modifying code at runtime
4.14.14
Displaying the current scope location
4.14.15
Examining or changing local variables
4.14.16
Modifying application variables
4.14.17
Viewing subprogram references
4.14.18
Tracing report execution
4.14.19
Tracing report distribution
4.14.20
Tracing using the SQL TRACE function
4.14.20.1
Performing a user-level trace
4.14.20.2
Performing a system-level trace
4.15
Integrate with Other Products
4.15.1
Publishing a report in Oracle Portal
4.15.1.1
Running reports in Oracle Portal as an item link
4.15.2
Accessing non-Oracle data sources
4.16
Administer Oracle Reports Builder
4.16.1
Setting a database role
4.16.2
Converting from one format to another
4.16.3
Improving performance using SQL statements
4.16.4
Improving performance using WHERE clauses
Part I Building Basic Reports
5
Building a Tabular Report
5.1
Prerequisites for This Example
5.2
Use the Report Wizard to Create a Report
5.3
Summary
6
Building a Mailing Label Report
6.1
Prerequisites for This Example
6.2
Use the Report Wizard to Create a Mailing Label Report
6.3
Add Vertical Spacing
6.4
Summary
7
Building a Form Letter Report
7.1
Prerequisites for This Example
7.2
Use the Report Wizard to Create a Form Letter Report
7.3
Summary
8
Building a Master/Master Report
8.1
Prerequisites for This Example
8.2
Create a New Report Manually
8.3
Use the Data Wizard to Create Two Queries
8.4
Use the Report Wizard to Layout the Data
8.5
Use the Paper Layout View to Add White Space
8.6
Format a Field
8.7
Summary
9
Building a Summary Report
9.1
Prerequisites for This Example
9.2
Create a Data Model and a Group Above Layout
9.3
Format Fields
9.4
Examine the Summary Column Properties (optional)
9.5
Summary
Part II Building Group Reports
10
Building a Single-Query Group Report
10.1
Prerequisites for This Example
10.2
Group Report with One Break Column
10.2.1
Create a data model with a break group and group left layout
10.2.2
Format a field
10.2.3
Use the Property Inspector to add white space
10.3
Group Report with Two Break Columns
10.3.1
Modify the data model
10.3.2
Redefault the layout
10.4
Group Report with Two Break Groups
10.4.1
Modify the data model
10.4.2
Redefault the layout
10.5
Summary
11
Building a Two-Query Group Report
11.1
Prerequisites for This Example
11.2
Create a New Report Manually
11.3
Create a Data Model with a Data Link
11.4
Use the Report Wizard to Layout the Data
11.5
Format a Field
11.6
Summary
12
Building an Across Group Report
12.1
Prerequisites for This Example
12.2
Create Two Queries
12.3
Create the Default Layout
12.4
Run Your Report to Paper
12.5
Summary
13
Building a Group Left Summary Report
13.1
Prerequisites for This Example
13.2
Create a New Report Manually
13.3
Create a Data Model with a Data Link
13.4
Use the Paper Layout View to Create Two Layouts
13.5
Merge the Two Layouts
13.6
Format Fields
13.7
Summary
14
Building a Group Left Formula Report
14.1
Prerequisites for This Example
14.2
Use the Report Wizard to Create a Simple Report
14.3
Create Two Formula Columns
14.3.1
Create a formula column to calculate the tax
14.3.2
Create a formula column that calculates customer order totals
14.3.3
Add the formula columns to the report layout
14.4
Summary
Part III Building Reports with Special Formatting
15
Building a Wrapped Field Report
15.1
Prerequisites for This Example
15.2
Create a Query in the Data Model View
15.3
Create Three Summary Columns
15.4
Create the Default Layout Using the Report Wizard
15.5
Modify the Layout of the Report
15.6
Run your Report to Paper
15.7
Summary
16
Building a Header and Footer Report
16.1
Prerequisites for This Example
16.2
Create a Data Model and a Group Left Layout
16.3
Move a Summary
16.4
Add a Page Heading
16.5
Add White Space and Format Fields
16.6
Summary
17
Building a Header with Database Values Report
17.1
Prerequisites for This Example
17.2
Create a Data Model and a Group Left Layout
17.3
Add Summary Columns for the Header Data
17.4
Add a Page Heading
17.5
Summary
18
Building a Report with Graphics, Text, and Color
18.1
Prerequisites for This Example
18.2
Create a Simple Report Definition
18.3
Modify the Report in the Paper Layout View
18.3.1
Add a border around the report
18.3.2
Change the font size and style
18.3.3
Add bullets to your report
18.3.4
Display a line between each record
18.3.5
Add a title to your report
18.4
Summary
19
Building a Report that Renumbers Pages by Repeating Frame
19.1
Prerequisites for This Example
19.2
Create a Data Model and a Group Above Layout
19.3
Add a Second Query
19.4
Redefault the Layout
19.5
Set Properties and Format Fields
19.6
Create New Fields
19.7
Reference Fields
19.8
Summary
20
Building an Intermixed Fields Report
20.1
Prerequisites for This example
20.2
Create a Data Model and a Layout
20.3
Add a Formula Column
20.4
Add a Field
20.5
Remove a Redundant Field
20.6
Suppress Redundant Values
20.7
Summary
21
Building a Report that Suppresses Labels
21.1
Prerequisites for This Example
21.2
Create the Data Model with Two Linked Queries
21.3
Create a Formula Column and a Summary Column
21.3.1
Create a formula column in the detail query
21.3.2
Create a summary column in the master query
21.4
Create the report layout
21.4.1
Create the initial layout of your report
21.5
Add a Format Trigger to Suppress Labels
21.6
Add Text to Display when No Records Display
21.7
Summary
22
Building a Report with Conditional Highlighting
22.1
Prerequisites for This Example
22.2
Create a Basic Tabular Report
22.3
Add Conditional Formatting to the Report
22.4
Examine the Conditional Format Trigger Code
22.5
Summary
23
Building a Conditional Form Letter Report
23.1
Prerequisites for This Example
23.2
Create the Data Model and Layout
23.3
Add Additional Text
23.4
Add Logic for Text
23.5
Summary
24
Building a Report with Dynamic Graphics
24.1
Prerequisites for This Example
24.1.1
Access to the data source and installing the Pictures table
24.1.2
Graphics for the report
24.2
Create the Data Model with Two Linked Queries
24.3
Create the Layout of the Report
24.3.1
Create the initial layout of your report using the Report Wizard
24.3.2
Modify the layout of your report
24.4
Run your Report to Paper
24.5
Summary
Part IV Building Matrix Reports
25
Building a Matrix Report
25.1
Prerequisites for This Example
25.2
Create a Single-Query Matrix
25.3
Create a Multiple-Query Matrix
25.3.1
Create a new report manually
25.3.2
Create a data model with a cross product and a data link
25.3.3
Create the layout with the Report Wizard
25.4
Add Summaries to the Single-Query Matrix
25.5
Format Monetary Values
25.6
Add Zeroes in Place of Blanks
25.7
Add a Grid
25.8
Summary
26
Building a Nested Matrix Report
26.1
Prerequisites for This Example
26.2
Create a Single-Query Matrix
26.3
Create a Multiple-Query Matrix
26.3.1
Create a new report manually
26.3.2
Create a data model with a cross product and data links
26.3.3
Create the layout with the Report Wizard
26.4
Create a Multiple-Query Matrix with a Break
26.4.1
Create a new report manually
26.4.2
Create a data model with a cross product and data links
26.4.3
Create the layout with the Report Wizard
26.5
Format Monetary Values
26.6
Summary
27
Building a Matrix with Group Above Report
27.1
Prerequisites for This Example
27.2
Create a Matrix Group Data Model and Layout
27.3
Add Labels and Lines for Summaries
27.4
Add Space Between Groups
27.5
Create a Web Layout
27.6
Summary
Part V Building Reports for Business Cases
28
Building a Time Series Calculations Report
28.1
Prerequisites for This Example
28.2
Create a Query and the Layout
28.3
Modify the Web Source of Your JSP Report
28.4
Summary
29
Building a Report for Enhanced Spreadsheet Output
29.1
Prerequisites for This Example
29.2
Create a Query and the Layout
29.3
Modify the Web source of Your JSP Report
29.4
Modify Your JSP Report to Display in Microsoft Excel
29.5
Summary
30
Building a Report with Aggregate Data
30.1
Prerequisites for This Example
30.2
Create a Query and the Layout
30.3
Modify the Web Source of Your JSP Report
30.4
Summary
31
Building a Check Printing Report with Spelled-Out Cash Amounts
31.1
Prerequisites for This Example
31.2
Create a Report Using the Report Wizard
31.3
Create a Formula Column That returns the Spelled-Out Cash Amounts
31.3.1
Create a PL/SQL function
31.3.2
Create a formula column in your data model
31.4
Create a Query That Returns the Items in the Order
31.5
Import a Check Image and Arrange Fields for Printing
31.5.1
Rearrange the layout objects
31.5.2
Import the blank check image
31.5.3
Set up the check printing fields
31.5.4
Rearrange the new fields according to the blank check image
31.5.5
Modify the look and feel of the check
31.6
Create a Check Stub With Payment Information and Order Details
31.6.1
Create a check stub in the Paper Design view
31.6.2
Add order details to the check stub
31.7
Summary
32
Building a Report Using a Preprinted Form
32.1
Prerequisites for This Example
32.2
Manually Create the Data Model for Your Report
32.2.1
Create the queries
32.2.2
Modify your data model
32.3
Create the Layout for Your Report
32.3.1
Set up your report layout
32.3.2
Create an address label for your form
32.3.3
Add the order item details to your report
32.3.4
Adjust the layout and add summaries
32.4
Format Your Report in the Paper Design View
32.5
Add Page Numbers (optional)
32.6
Summary
33
Building an Invoice Report
33.1
Prerequisites for This Example
33.2
Create a New Report Manually
33.3
Create a Data Model With a Data Link
33.4
Create Summary and Formula Columns
33.5
Prepare the Layout
33.6
Insert Invoice Information
33.7
Summary
34
Building a Ranking Report
34.1
Prerequisites for This Example
34.2
Create a Data Model and Tabular Layout
34.3
Create Ranking Logic for Top number of Customers
34.4
Add a Layout Object for a Parameter
34.5
Create a Parameter Form
34.6
Add a Percentage Ranking
34.7
Summary
35
Building a Paper Report with a Simple Table of Contents and Index
35.1
Prerequisites for This Example
35.2
Create a Simple Table of Contents
35.2.1
Create a table in the database to hold the TOC data
35.2.2
Create a group above report
35.2.3
Create an After Parameter Form trigger and a format trigger
35.2.3.1
Create an After Parameter Form trigger
35.2.3.2
Create a format trigger
35.2.4
Create a second query in the data model
35.2.5
Create a report block to display the table of contents
35.2.6
Run your simple table of contents report to paper
35.3
Create an Index
35.3.1
Create a table in the database to hold the information for the index
35.3.2
Create a format trigger
35.3.3
Add a query to the data model
35.3.4
Create a report block to display the index in the Trailer section
35.3.5
Run your report to paper
35.4
Summary
36
Building a Paper Report with a Multilevel Table of Contents
36.1
Prerequisites for This Example
36.2
Create a table in the database to hold the TOC data
36.3
Create an After Parameter Form Trigger and a Format Trigger
36.3.1
Create an After Parameter Form trigger
36.3.2
Create a format trigger
36.4
Create a Second Query in the Data Model
36.5
Create a Report Block to Display the Table of Contents
36.6
Run Your Multilevel Table of Contents Report to Paper
36.7
Summary
37
Bursting and Distributing a Report
37.1
Prerequisites for This Example
37.2
Set Up an Existing Report for Bursting
37.3
Edit the Distribution XML Definition
37.4
Run the Report
37.5
Summary
38
Building a Report with Multibyte Characters for PDF Output
38.1
Prerequisites for This Example
38.2
Create the Query and Paper Layout for a Multibyte Report
38.3
Display Multibyte Characters in the Report
38.4
Create a PDF Document of Your Report
38.5
Summary
Part VI Building Reports with PL/SQL and Java
39
Building a Report with Graphs
39.1
About Graphs and Graph Wizards
39.2
New Features and Benefits
39.3
New Graph Types
39.3.1
Funnel Graph
39.3.2
Curved Line or Fit To Curve Graph
39.3.3
Enhanced Pie
40
Building a Report that Includes PL/SQL
40.1
Prerequisites for This Example
40.2
Create a New PL/SQL Library
40.3
Create the Report Definition
40.3.1
Create a query
40.3.2
Create a formula column that calculates bonuses
40.3.3
Create a report-level function that calculates total compensation
40.3.4
Create a second formula column for total compensation
40.4
Create the Report Layout Using the Report Block Wizard
40.5
Add Vertical Space Between Records
40.5.1
Create a user parameter
40.5.2
Create a summary column that counts the number of records
40.5.3
Modify the layout
40.5.4
Create a format trigger
40.6
Run Your Report to Paper
40.7
Summary
41
Building a Paper Report with REF CURSORs
41.1
Prerequisites for This Example
41.2
Define a REF CURSOR Type
41.3
Create a REF CURSOR Query
41.4
Refine the Data Model
41.5
Create Links Between REF CURSOR Queries
41.6
Add Summary Columns
41.7
Create a Layout
41.8
Move the SELECT Statements Into Packages
41.9
Move the Packages Into a Library
41.10
Summary
42
Building a Simple Parameter Form for a JSP-based Web Report
42.1
Prerequisites for This Example
42.2
Create a Parameter Form in HTML
42.3
Modify the HTML Parameter Form in Reports Builder
42.3.1
Create a data model manually for the Parameter Form
42.3.2
Create a dynamic LOV in the Parameter Form
42.3.3
Run the Parameter Form report to the Web
42.4
Set up the Target Report
42.5
Deploy the JSP Parameter Form and the Target Report
42.6
Summary
43
Building a Report with a Barcode
43.1
Prerequisites for This Example
43.1.1
Update the REPORTS_CLASSPATH environment variable
43.2
Create a Barcode Report for Paper
43.2.1
Import the Java classes into Reports Builder
43.2.2
Create a package to store your information
43.2.3
Create a Before Report trigger
43.2.4
Create a query in the Data Model view
43.2.5
Create a formula column to retrieve the barcode image
43.2.6
Create a formula column that returns the order total
43.2.7
Create a layout for your report
43.3
Create a Barcode Report for the Web
43.3.1
Create a query in an existing HTML file
43.3.2
Create three formula columns in your data model
43.3.3
Initialize the barcode JavaBean and set its properties
43.3.4
Run your report to the Web
43.4
Summary
44
Building an Accessible JSP-based Web Report
Part VII Building Reports with Pluggable Data Sources
45
Building a Report with an XML Pluggable Data Source
45.1
Prerequisites for This Example
45.2
Create a Report Manually with SQL and XML Queries
45.2.1
Create a SQL query for your new report
45.2.2
Create an XML query to access your XML data source
45.2.3
Create a data link between two queries
45.2.4
Create a layout for your report using the Report Wizard
45.2.5
Apply alternating row colors to your report
45.2.6
Filter your XML data using a group filter
45.3
Run Your Report to Paper
45.4
Summary
46
Building a Report with a Text Pluggable Data Source
46.1
Prerequisites for This Example
46.2
Set Up the textpds.conf File
46.3
Use the Report Wizard to Create a Report
46.4
Summary
A
Tool Palette and Toolbar Reference
A.1
Main Toolbar
A.2
Data Model View Tool Palette
A.3
Paper Layout View Tool Palette
Index
Scripting on this page enhances content navigation, but does not change the content in any way.