5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.

Slides:



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

With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 7 Advanced Forms and Reports 1 Copyright.
Enhanced Guide to Oracle 10g
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 5: Introduction to Forms Builder. 2 Lesson A Objectives After completing this lesson, you should be able to: Display Forms Builder forms in a.
A Guide to Oracle9i1 Advanced Forms Builder Topics Chapter 10.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
7 Copyright © 2004, Oracle. All rights reserved. Working with Text Items.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Chapter 5B-C: Introduction to Forms Builder: Tiggers, LOV.
Chapter 7: Creating Database Reports
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Eyad Alshareef 1 Creating Custom Forms Part B. 2Eyad Alshareef Lesson B Objectives After completing this lesson, you should be able to: Suppress default.
Eyad Alshareef 1 Creating Custom Forms Part A. 2Eyad Alshareef Data Block and Custom Forms Data block form Data block form Based on data blocks that are.
ACCESS – CHAPTER 4 ZNANATEJ PANGA October 27, 2014.
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?!
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
23 Copyright © 2004, Oracle. All rights reserved. Sharing Objects and Code.
Chapter 3 Maintaining a Database
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Eyad Alshareef 1 Creating Database Reports. 2Eyad Alshareef Creating reports.
Copyright Ó Oracle Corporation, All rights reserved. 55 Working with Data Blocks and Frames.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Copyright Ó Oracle Corporation, All rights reserved. 22 Running a Form Builder Application.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Oracle Reports Builder
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
10 Copyright © 2004, Oracle. All rights reserved. Creating Noninput Items.
Stacked Canvas A content canvas is a main from canvas while a stacked canvas is a secondary canvas that overlays or partially covers a content canvas.
Eyad Alshareef 1 Introduction To Form Builder Part B.
Copyright Ó Oracle Corporation, All rights reserved Working with Other Canvases.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
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.
Sequences Sequences: a database object that generates unique numbers from an arithmetic series. Used to populated surrogate keys. Syntax: CREATE SEQUENCE.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
Copyright Ó Oracle Corporation, All rights reserved. 77 Creating LOVs and Editors.
7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model.
Preface IIntroduction Course Objectives I-2 Course Content I-3 1Introduction to Oracle Reports Developer Objectives 1-2 Business Intelligence 1-3 Enterprise.
Copyright Ó Oracle Corporation, All rights reserved. 88 Creating Additional Input Items.
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,
This presentation shows how to develop a Master-Detail form. Such a form has a One-Many type of relationship. The “one” is the master and the “many” is.
16 Copyright © 2004, Oracle. All rights reserved. Building ADF UIX View Components.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Chapter 7: Creating Custom Forms. Data Block and Custom Forms Data block form Based on data blocks that are associated with specific database tables Reflect.
CHAPTER 7 LESSON B Creating Database Reports. Lesson B Objectives  Describe the components of a report  Modify report components  Modify the format.
Eyad Alshareef, Edited by: Mostafa Ali
Working with Data Blocks and Frames
Working in the Forms Developer Environment
Creating a Basic Form Module
Developer 2000 CSE 4504/6504 Lab.
Creating LOVs and Editors
Working in the Form Builder Environment
Chapter 6: Creating Custom Forms
Creating Noninput Items
Creating a Master-Detail Form
Introduction To Form Builder
Creating Additional Input Items
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:

5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form

5-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Create data blocks with relationships Modify a data block Modify the layout of a data block Run a master-detail form

5-3 Copyright © 2004, Oracle. All rights reserved. Form Block Relationships Master Detail Master Detail  Master  Master Detail

5-4 Copyright © 2004, Oracle. All rights reserved. Customers Orders Items Form Block Relationships Orders Items OrdersAccount Rep Customers

5-5 Copyright © 2004, Oracle. All rights reserved. Data Block Wizard: Master-Detail Page

5-6 Copyright © 2004, Oracle. All rights reserved. Relation Object New relation object created in Object Navigator under master data block node Default name assigned: MasterDataBlock_ DetailDataBlock Triggers and program units generated automatically

5-7 Copyright © 2004, Oracle. All rights reserved. Creating a Relation Manually

5-8 Copyright © 2004, Oracle. All rights reserved. Join Condition The join condition creates primary-foreign key link between blocks Define a join condition using: –Block and item names (not table and column names) –Do not precede names with colon –SQL equijoin syntax

5-9 Copyright © 2004, Oracle. All rights reserved. Deletion Properties Isolated: Only master is deleted Cascading: Master and all details are deleted Non-isolated: If no detail record, master is deleted Non-isolated: Master is not deleted if there are any detail records = Deleted Master-Detail Records

5-10 Copyright © 2004, Oracle. All rights reserved. Modifying a Relation

5-11 Copyright © 2004, Oracle. All rights reserved. Coordination Properties DefaultDeferred with auto query Deferred without auto query

5-12 Copyright © 2004, Oracle. All rights reserved. Running a Master-Detail Form Module Automatic block linking for: –Querying –Inserting Default deletion rules: Cannot delete master record if detail records exist

5-13 Copyright © 2004, Oracle. All rights reserved. Modifying the Structure of a Data Block Reentrant Data Block Wizard: 1.Select frame or object in Layout Editor, or data block or frame in Object Navigator 2.Select Tools > Data Block Wizard OR Right-click and select Data Block Wizard OR Click Data Block Wizard Object Navigator: –Create or delete items –Change item properties Block Property Palette: Change property values

5-14 Copyright © 2004, Oracle. All rights reserved. Modifying the Layout of a Data Block Reentrant Layout Wizard: –Select frame in Object Navigator or Layout Editor –Select Tools > Layout Wizard – OR –Right-click and select Layout Wizard OR –Click Layout Wizard Layout Editor: –Select Tools > Layout Editor –Make changes manually Frame Property Palette: Change property values

5-15 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson, you should have learned that: You can create data blocks with relationships by using the Data Block Wizard or by manually creating a Relation object When you run a master-detail form, block coordination is automatic depending on properties of the Relation object You can modify a data block manually or with the Data Block Wizard in reentrant mode You can modify the layout manually or with the Layout Wizard in reentrant mode