CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.

Slides:



Advertisements
Similar presentations
A Guide to Oracle9i1 Creating Database Reports Chapter 7.
Advertisements

Learning the Basics – Lesson 1
© 2007 by Prentice Hall10-1 Introduction to Oracle 10g Chapter 10 Creating and Modifying Reports James Perry and Gerald Post.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Enhanced Guide to Oracle 10g
Microsoft Excel 2010 Chapter 7
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
1 Chapter 12 Working With Access 2000 on the Internet.
Integrating Access with the Web and with Other Programs.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
A Guide to Oracle9i1 Advanced Forms Builder Topics Chapter 10.
Chapter 7: Creating Database Reports. 2 Lesson A Objectives After completing this lesson, you should be able to: Use the Reports Builder report styles.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 7: Creating Database Reports
FIS 318/618: Financial Systems & Databases Forms and Reports Oakland University School of Business Administration Accounting and Finance Joe Callaghan.
Introduction To Form Builder
Introduction To Form Builder
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
1 Chapter 5: Introduction To Form Builder. 2 Forms  Why Do We Use Form Builder?  Why Don’t We Use SQL Only?!
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Eyad Alshareef 1 Creating Database Reports. 2Eyad Alshareef Creating reports.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Web Technologies Website Development Trade & Industrial Education
Website Development with Dreamweaver
CSS/417 Introduction to Database Management Systems Workshop 2.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 7 – Adding and.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
Key Applications Module Lesson 21 — Access Essentials
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Eyad Alshareef 1 Introduction To Form Builder Part B.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
1 Guide to Oracle10G CHAPTER 7: Creating Database Reports 7.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
CS 281 – Fall 2015 Lab 4 Parametric Query and Forms in MS Access.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Preface IIntroduction Course Objectives I-2 Course Content I-3 1Introduction to Oracle Reports Developer Objectives 1-2 Business Intelligence 1-3 Enterprise.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
CHAPTER 7 LESSON B Creating Database Reports. Lesson B Objectives  Describe the components of a report  Modify report components  Modify the format.
Creating Oracle Business Intelligence Interactive Dashboards
Working in the Forms Developer Environment
Creating LOVs and Editors
Learning the Basics – Lesson 1
Positioning Objects with CSS and Tables
Unit I: Collecting Data with Forms
Creating Database Reports
Microsoft Office Access 2003
Microsoft Office Access 2003
From and Report.
Positioning Objects with CSS and Tables
Reports Report builder meets the challenge by making it easy to design, publish, and distribute professional, production-quality reports in a variety of.
Presentation transcript:

CHAPTER 7 LESSON C Creating Database Reports

Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary columns  Create formula columns  Create reports that display formatted data in a Web browser window 2

Displaying Image Data in Reports  Data that is stored in LOB (Large Object) columns in the database (such as images) can be displayed in a report 3

Loading the Image Data  To create a report containing an image, it is necessary to load the image data into the database 4

Creating and Configuring the Report Image Layout Fields  When a report is created using the Report Wizard, every field is treated as a text field  Image data will be displayed as a text field with the text “MM” (multimedia)  The File Format property for an image field must be changed to Image using the Property Inspector 5

Creating Report Queries and Data Links Manually  As an alternative to the Report Wizard, queries and layouts can be created manually in Reports Builder  When creating a master-detail report, it is necessary to create both the master and detail queries manually, and then link them using a data link 6

Creating Queries and Data Links Manually  The SQL Query tool is used to create queries manually  When creating a data link for a master-detail report, the master side is called the parent, while the detail side is called the child  There are three types of data links: Query to Query, Group to Group, and Column to Column  Which type is used depends on the relationship between the two queries that are being linked  The Data Link tool is used to create the data link  Each query type is created slightly differently using this tool 7

Creating Reports That Display Calculated Values  Formula columns are used to display the result of PL/SQL functions  Summary columns are used to display the result of summary functions applied to the report data  Summary functions include SUM, AVG, MIN, and MAX. 8

Creating Formula Columns  A formula column displays the result of a user- defined PL/SQL function  There are three steps in creating a formula column: 1. Create the formula column in the report Data Model 2. Write the user-defined function that returns the calculated value for the formula column 3. Create a layout field in the report to display the formula column value 9

Creating a Formula Column in the Report Data Model  The Formula Column tool is used to create a formula column  It must be placed in the same record group as the columns that are used in the calculation performed by the formula 10

Creating the Formula Column Function  Within the function, columns are referenced using the syntax :column_name  Only columns in the same record group as the formula column can be referenced  The return command is used to return the result of the formula calculation  The PL/SQL Editor is used to enter the function 11

Creating a Layout Field to Display the Formula Column  The Paper Layout window is used to create a field that displays a formula column  The field’s Source property references the formula column  The field must be placed in the same repeating frame as the fields that are used in the formula column’s function 12

Creating Summary Columns  Summary columns can be created using the Report Wizard or manually  A summary column displays summary data for a series of data fields 13

Creating a Summary Column Using the Report Wizard  The Totals page of the Report Wizard is used to create summary columns  On this page, both the summary function and the data to be summarized are selected  The Report Wizard creates a summary column for each record group and for the entire report 14

Creating a Summary Column Manually  Since the Report Wizard eliminates formatting changes, it is often necessary to create a summary column manually  The steps involved in creating the column manually are:  Create the summary column in the report Data Model, and modify the summary column properties  Create a layout field to display the summary column on the report 15

 The Summary Column tool is used to create a summary column manually  The summary column must be placed in the record group that contains the data series.  It is common practice to prefix the name of the summary column with CS_  Once the column is created, the Property Inspector is used to set the name, summary function, and column to be summed Creating a Summary Column Manually 16

 The Paper Layout window is used to add a manually created summary column to a report layout  The summary column must be placed in the repeating frame that contains the data to be summarized Creating a Summary Column Manually 17

Displaying Formatted Reports as Web Pages  When a report is viewed as a Web page by either pressing the Run Web Layout button or previewing in the Paginated HTML or Paginated HTMLCSS format, the data displayed in the report is retrieved from the database and saved in the report  It is static data, meaning it will not change even if the underlying database data changes  These formats are intended for distributing static reports to users 18

 In Web-based applications, it is preferable to allow users to generate their own reports using current database data Displaying Formatted Reports as Web Pages 19

Using the Oracle 10g Application Server to Generate Reports Dynamically  The Oracle 10g Application Server (OAS) delivers Oracle 10g database data to users via the Web  It can be used to generate dynamic reports using the Report Server process 20

Creating Reports That Appear as Dynamic Web Pages  Reports that will be displayed using OAS are created like any other report in this chapter, then saved in either a report definition file (RDF) or a Java Server Page (JSP) format  The choice of format depends on how the Web administrator configures OAS  As when clicking the Run Web Layout button, a report that is simply saved in either of the two formats discussed above is displayed without any formatting changes 21

 In order to include custom formatting, either the report must be modified using the Web Source window to modify the formatting, or an HTML file containing formatting in Reports Builder must be opened to add commands to retrieve data Creating Reports That Appear as Dynamic Web Pages 22

Viewing the Report Web Source File  When a report is saved in RDF or JSP format, a Web source file is created containing the HTML code for the report  Within the report are embedded tags that control the retrieval of report data  These tags start with the prefix rw:—  for example,. 23

Viewing the Report Web Source File  The Web Source window is used to view RDF and JSP files  The Java commands within the Web source file appear between the delimiters. Within the file, the data area contains the commands that retrieve and display the report data 24

Modifying the Default Appearance of a Web Report  There are two techniques for modifying the appearance of a Web report  The first is to use the Web Source window to change the formatting  The second is to use Reports Builder to add commands to retrieve the report data into an HTML document that already contains the formatting for the report 25

 Report data can be added to an existing HTML document in three steps: 1. Open the HTML document in Reports Builder 2. Open the Data Model window and manually create a record group that contains the data that the report is to display 3. Use the Report Block Wizard to create the data area in the Web page by inserting a report block in the document  A report block is a series of Java commands that retrieve and format data values in one of the report styles that can appear in a browser window. Modifying the Default Appearance of a Web Report 26

Report Block Wizard Pages  The Report Block Wizard is used to incorporate the query into the HTML page. The wizard contains pages:  Style page Allows you to specify the title that appears on the report and select the report style  Groups page Allows you to select the record group that appears in the report and specify if the records repeat across the report horizontally, or down the report virtically 27

Report Block Wizard Pages  Fields page Allows you to select the query fields that appear in the report  Labels page Allows you to specify the report field labels and widths  Template page Allows you to select a report template 28