Creating Database Reports Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Creating reports Eyad Alshareef, Edited by: Dr. Mostafa Ali
Opening report builder Eyad Alshareef, Edited by: Dr. Mostafa Ali
Use report wizard to create a report Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Click OK on the welcome page and then specify the type of report that you want to create Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Name your report and select the desired style Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Select SQL query as a basis for the report Build your query (you may be asked to log in at this point) Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Designate columns as group fields Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Select columns to appear in the report Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Specify labels and field length for each of the items Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Select a template Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Using report wizard Finish and view your report Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Viewing Web report Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Reports Snapshot summary of database data Viewed on screen Printed on paper Printed to a file and distributed electronically Eyad Alshareef, Edited by: Dr. Mostafa Ali
Introduction to Reports Builder Database Reports Allows application developers to create reports that display data from Oracle 10g database Developer10g Reports Builder allows developers to preview and distribute reports in variety of different formats including: Web pages Portable document format (.pdf) files Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Report Uses 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 Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Report Styles 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 Eyad Alshareef, Edited by: Dr. Mostafa Ali
Creating a Report Using the Report Wizard Enter the SQL query to retrieve all of the report data Choose the display fields Specify the report master-detail groups Specify the field prompts Select a predefined template Eyad Alshareef, Edited by: Dr. Mostafa Ali
Creating a Master-Detail Report Specify the master and detail records on the Report Wizard Groups page Detail records remain in Available Fields list Master records Detail records Eyad Alshareef, Edited by: Dr. Mostafa Ali
Using Format Masks in Reports Format masks can be applied to: NUMBER fields DATE fields Format masks cannot be applied to text fields Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Report Templates 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 Eyad Alshareef, Edited by: Dr. Mostafa Ali
Applying Templates to Reports Use the Report Wizard Templates page to specify: The name of a predefined 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) Eyad Alshareef, Edited by: Dr. Mostafa Ali
The Report Wizard Templates Page Eyad Alshareef, Edited by: Dr. Mostafa Ali
Report Builder Windows Live Previewer Shows how report will look when viewed or printed Layout Model Shows report components symbolically Data Model Shows underlying report data structure Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Live Previewer Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Data Model Shows report data components Query Data link Record group Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Data Model Components 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 Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Report Column Types Database – Scalar Discrete data value retrieved from database Summary Data value calculated by applying a summary function to a report column Formula Data value calculated by applying a user-defined PL/SQL function to a report column Eyad Alshareef, Edited by: Dr. Mostafa Ali
Eyad Alshareef, Edited by: Dr. Mostafa Ali Layout Model Shows reports components symbolically Eyad Alshareef, Edited by: Dr. Mostafa Ali