Presentation is loading. Please wait.

Presentation is loading. Please wait.

Eyad Alshareef 1 Creating Database Reports. 2Eyad Alshareef Creating reports.

Similar presentations


Presentation on theme: "Eyad Alshareef 1 Creating Database Reports. 2Eyad Alshareef Creating reports."— Presentation transcript:

1 Eyad Alshareef 1 Creating Database Reports

2 2Eyad Alshareef Creating reports

3 3Eyad Alshareef Opening report builder

4 4Eyad Alshareef Use report wizard to create a report

5 5Eyad Alshareef Using report wizard Click OK on the welcome page and then specify the type of report that you want to create Click OK on the welcome page and then specify the type of report that you want to create

6 6Eyad Alshareef Using report wizard Name your report and select the desired style Name your report and select the desired style

7 7Eyad Alshareef Using report wizard Select SQL query as a basis for the report Select SQL query as a basis for the report Build your query (you may be asked to log in at this point) Build your query (you may be asked to log in at this point)

8 8Eyad Alshareef Using report wizard Designate columns as group fields Designate columns as group fields

9 9Eyad Alshareef Using report wizard Select columns to appear in the report Select columns to appear in the report

10 10Eyad Alshareef Using report wizard Specify labels and field length for each of the items Specify labels and field length for each of the items

11 11Eyad Alshareef Using report wizard Select a template Select a template

12 12Eyad Alshareef Using report wizard Finish and view your report Finish and view your report

13 13Eyad Alshareef Viewing Web report

14 14Eyad Alshareef  Snapshot summary of database data  Viewed on screen  Printed on paper  Printed to a file and distributed electronically Reports

15 15Eyad Alshareef Introduction to Reports Builder Database Reports Reports Builder Reports Builder Allows application developers to create reports that display data from Oracle 10g database Allows application developers to create reports that display data from Oracle 10g database Developer10g Developer10g Reports Builder allows developers to preview and distribute reports in variety of different formats including: Reports Builder allows developers to preview and distribute reports in variety of different formats including: Web pages Web pages Portable document format (.pdf) files Portable document format (.pdf) files

16 16Eyad Alshareef  A report can:  Display SQL query data  Display summary columns  Display calculated values based on formulas applied to database data  Be formatted to look like an invoice or other business document Report Uses

17 17Eyad Alshareef  Tabular (table-format)  Form-like (looks like a form)  Mailing labels  Form letters  Group left and Group above  Displays master-detail relationships  Matrix and Matrix with group  Data value appears at the intersection of a column and row heading Report Styles

18 18Eyad Alshareef 1. Enter the SQL query to retrieve all of the report data 2. Choose the display fields 3. Specify the report master-detail groups 4. Specify the field prompts 5. Select a predefined template Creating a Report Using the Report Wizard

19 19Eyad Alshareef Creating a Master-Detail Report Specify the master and detail records on the Report Wizard Groups page Specify the master and detail records on the Report Wizard Groups page Detail records remain in Available Fields list Detail records remain in Available Fields list Master records Detail records

20 20Eyad Alshareef  Format masks can be applied to:  NUMBER fields  DATE fields  Format masks cannot be applied to text fields Using Format Masks in Reports

21 21Eyad Alshareef  Specify report appearance characteristics  Font sizes, types and colors  Graphic images  Background shading  Page numbering  Date report is created  Stored in a file with a.tdf extension Report Templates

22 22Eyad Alshareef Applying Templates to Reports Use the Report Wizard Templates page to specify: Use the Report Wizard Templates page to specify: The name of a predefined template The name of a predefined template The file path specification to a custom template The file path specification to a custom template To register a template file as a custom template, modify the Developer global preferences file (cagprefs.ora) To register a template file as a custom template, modify the Developer global preferences file (cagprefs.ora)

23 23Eyad Alshareef The Report Wizard Templates Page

24 24Eyad Alshareef Report Builder Windows Live Previewer Live Previewer Shows how report will look when viewed or printed Shows how report will look when viewed or printed Layout Model Layout Model Shows report components symbolically Shows report components symbolically Data Model Data Model Shows underlying report data structure Shows underlying report data structure

25 25Eyad Alshareef Live Previewer

26 26Eyad Alshareef  Shows report data components Query Record group Data Model Data link

27 27Eyad Alshareef  Record group: set of records with the same column headings  Master-detail reports have multiple record groups  Default record group name: G_first_column_name  Individual fields are called columns Column Data Model Components

28 28Eyad Alshareef Report Column Types Database – Scalar Database – Scalar Discrete data value retrieved from database Discrete data value retrieved from database Summary Summary Data value calculated by applying a summary function to a report column Data value calculated by applying a summary function to a report column Formula Formula Data value calculated by applying a user-defined PL/SQL function to a report column Data value calculated by applying a user-defined PL/SQL function to a report column

29 29Eyad Alshareef  Shows reports components symbolically Layout Model


Download ppt "Eyad Alshareef 1 Creating Database Reports. 2Eyad Alshareef Creating reports."

Similar presentations


Ads by Google