iSelfSchooling.com - Copyright © 1999-2009 iSelfSchooling.com ||  References  |  Job Openings
    Home  | Search more...  |  FREE Online VIDEO Oracle Training 

    Oracle Syntax  | Suggestions  | Private Tutoring

  Copyright & User Agreement

Email2aFriend  | Homepage us! |  Bookmark

Services

 Vision/Mission

 Services

 Biography

 Contact Us

 FREE Training

 SQL

 PL/SQL

 Forms 

 Reports

 Other TOOLS

 Fundamentals

 Performance

 OEM

 Application Server

 Grid Control

 Articles

 Prepare for OCP

Oracle SYNTAX

 Oracle Functions

 Oracle Syntax

 Oracle 10g Syntax

  PL/SQL Syntax

UNIX and more...

 UNIX for DBAs

 LINUX for DBAs

 DB using PHP

  A+ Certification

 Basics of JAVA  

 Tips of  SEO

Finance/Jobs

 Financial Aid

 Skilled

 Oracle

 Jobs

  Magazine

More Training

 Q & Answers

 SQL-PL/SQL

 DBA

 Developer

 Important Notes

 Case Studies

 9i New Features

 10g New Features

 10g Qs/As

 Grid Control

 OracleAS # I

 OracleAS # II

  LDAP and OID

  HTTP Server

 Instructor-Led

  Virtual Hosts

 Community Sharing

More to know...

Acknowledgement**

 FREE Legal Forms

 Who is who

 Market Place

 University Directory

 Advisory Articles

 Links...

 

 

FREE Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

BASICS

SQL | PL/SQL

DEVELOPERS

FORMS 2 | REPORTS | Other TOOLS

DBAs

FUNDAMENTALS 2 | PERFORMANCE | OEM

ADVANCE

APPLICATION SERVER | GRID CONTROL | ARTICLES 2 3 4

Developers - REPORTS

Lesson 01 | Lesson 02 | Lesson 03 | Lesson 04 | Lesson 05 | Lesson 06 | Lesson 07 | Lesson 08 | Lesson 09 | Lesson 10 | Lesson 11 | Lesson 12 | Lesson 13 | Lesson 14 | Lesson 15 | Lesson 16 | Lesson 17 | Lesson 18 | Lesson 19 | Lesson 20 | Lesson 21 | Lesson 22 | Lesson 23 | Lesson 24 | Lesson 25 | Lesson 26 | Lesson 27 | Lesson 28 | Lesson 29 | Lesson 30 | Lesson 31 | Lesson 32 | Lesson 33 | Lesson 34 | Lesson 35 |

Lesson 03

"Copy from one, it's plagiarism; copy from two, it's research." - Wilson Mizner (1876-1933)

Read first then play the video:

   RPT003(VIDEO)-(Hands-On 02) How to write a Group left report

 

Group Left

Introduction

Group-left reports are very useful for generating output reports from SQL statements with the group by clause. The Group-left report suppresses redundant printings of the same value in the leftmost column of the report. It is like making a control break in your report. You can use the “Group-left” report on a master-detail relationship as well.

 

Hands-on

Your client asks you to define a control break on their stocks symbol and company name from previous report and also to print only one company on a page.

See Figure 2.

 

Your tasks are:

1- Modify Hands-On report 01 to the “Group Left” style.

2- Apply template to the user report.

3- Run the report.

4- Test the repot.

 

FYou will learn how to: use report wizard, use report style “group left”, use template, use pre-viewer, use zoom in and out, use the body section in the layout model in the object navigator, and change repeating object’s property palette.

 

Figure 2

 

 

Open a Report Module

In the ‘Object Navigator’ window, go to the Main menu and choose “File,” select “Open” to open an existing report (RPT01_STOCK_HISTORY) from the “iself” folder.

 

Run a report

Click on the Run icon to run the report.

 

Maximize the window.

Notice that the stock symbol and company name are repeated. We are going to create a control break to eliminate the duplication.

 

Report Wizard

In the Report Editor, click on the Report Wizard icon on the toolbar.

 

Select a Style

In the Style tab on the Report Wizard, checkmark the “group left” radio button, then click next.

 

Group-Left

Group-left reports are very useful for generating output reports from SQL statements with the group by clause. The Group-left report suppresses redundant printings of the same value in the leftmost column of the report. It is like making a control break in your report. You can use the “Group-left” report on a master-detail relationship as well.

 

Data, Groups, Fields, Totals, and Template tabs

In the Data tab on the Report Wizard, click “Next” again.

 

In the Groups tab on the Report Wizard, move the “symbol” and company name” item to the “group fields” box. Drag "company" to level 1, and then click “NEXT.”

In the Fields tab on the Report Wizard, don’t change any fields. Click “Next” again.

 

In the Totals in the Report Wizard, calculate the total, minimum, and maximum number of traded shares. Then click “Next.”

 

In the Labels tab in the Report Wizard, change the label, if needed. Click “Next.”

In the Template tab in the Report Wizard, use the default template and click “finish.”

 

Navigate through a report

Navigate through the report output. Notice that multiple companies are on each page.

Change the report to print company’s information on a separate page.

 

Open Repeating Group’s property palette

On the Object Navigator, expand “Layout Model,” “Main Section”, then “BODY.”

Right click on the first "Repeating Group" (R_G_1) to open its property palette.

In its property palette, change "Maximum Records Per Page" to 1 and press the enter key, then close the window.

Navigate through the report. Notice that each company is on a separate page.

 

After testing the output report, go to the object navigator window, select the report and save the changes.

Save the report as report number 2 (REPT02).

A note to remember:

In the Object Navigator, if you highlight the report and click on the ‘X’ icon (Delete) on the vertical toolbar, the object will be remove from work area and still a copy of that exist on your disk.

 

 

 

"A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty." - Sir Winston Churchill (1874-1965)

Questions:

Q: What is a Group-Left report?

Q: How do you use the Report Wizard?

Q: How many styles are in the Report Style window?

Q: What is a template in the Report Builder?

Q: When do you use pre-viewer in the Report Builder?

Q: How do you zoon in and out in the Layout Editor?

Q: What is the body section in the layout model?

Q: How do you change the repeating object’s property palette?

Q: Your client asks you to define a control break on their stocks symbol and company name from previous report and also to print only one company on a page.

See Figure 2.

 

Your tasks are:

1- Modify Hands-On report 01 to the “Group Left” style.

2- Apply template to the user report.

3- Run the report.

4- Test the repot.

 

 

 
 
Google
 
Web web site