Developer 2000 CSE 4504/6504 Lab.

Slides:



Advertisements
Similar presentations
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
Advertisements

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.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
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.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
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.
Introduction To Form Builder
Introduction To Form Builder
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.
This presentation shows how to create a simple form from a single table, CUSTOMER. Also show is a way to change the formatting displayed by the Layout.
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.
Advanced Forms Lesson 10.
Forms - An Overview of Oracle Form Builder v.6.0 Abhishek Parag Prashant Arun.
Creating a Web Site to Gather Data and Conduct Research.
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Key Applications Module Lesson 21 — Access Essentials
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
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.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
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,
Oracle Forms Oracle Forms Builder provides various tools, which have powerful Graphical User Interfaces (GUI's) to design such forms. All objects, properties,
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
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.
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,
Databases Databases Using Microsoft Access 2003 Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft Windows.
June 17, 2009 Office 2007 Tips & Tricks.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Visual Basic.NET Windows Programming
Eyad Alshareef, Edited by: Mostafa Ali
Forms Concepts Triggers Fired when Internal/External events occur
Working with Data Blocks and Frames
Chapter 2: The Visual Studio .NET Development Environment
Creating Oracle Business Intelligence Interactive Dashboards
Working in the Forms Developer Environment
Creating a Basic Form Module
Creating LOVs and Editors
Building a User Interface with Forms
Working in the Form Builder Environment
Introduction to Triggers
Lecture on Oracle Forms
1. Introduction to Visual Basic
Access Lesson 1 Understanding Access Fundamentals
Chapter 7 Advanced Form Techniques
Chapter 2 – Introduction to the Visual Studio .NET IDE
Chapter 6: Creating Custom Forms
Creating Database Reports
Using JDeveloper.
Producing Triggers Schedule: Timing Topic 40 minutes Lecture
Introduction to Database Programs
Creating a Master-Detail Form
Chapter 8: Creating An Integrated Database Application
Chapter 18 Finalizing a Database.
Introduction to Database Programs
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
Creating Additional Input Items
Unit J: Creating a Database
Presentation transcript:

Developer 2000 CSE 4504/6504 Lab

Developer 2000 A group of tools for developing Client/Server application. Two important tools: Form Builder -- For designing data entry forms. Report Builder -- For designing reports. Developer/2000 provides a common method of developing client/server and web-deployed applications using the same tools. Developer 2000 reduces overall development costs and make you develop the application more easily.

How to run the tools in ra? Enter swsetup oradev to add the Oracle 8.0 developer 2000 design tools to your path f60desm to start the Form Builder f60runm to run the executable form file Use x-term to connect to ra. X-win32 O-net

What is Form Builder? Form is a window the user interacts with. Form Builder is a tool that can do most of the development without a great deal of coding.

Main Components in Form Builder Object Navigator Property palette Layout editor PL/SQL editor

Object Navigator In Developer 6.0, a form, report or graphic is generally referred to as a Module. This screen is called the Object Navigator and displays all of the form elements, data blocks, menu items, user defined code libraries, built in procedures and functions, and database objects (tables, views). The display is in the form of a collapsible tree. In general, clicking on a + will expand the current item to show its details. Clicking on a - will collapse the current list details. Forms - Contains form objects and all of their sub-objects such as data blocks, triggers, alerts, canvases, program units (procedures and functions), parameters and windows. More than one form can be open at a time. Menus - Contains menu objects and all of their sub-objects such as menu items, parameters and program units. More than one menu can be open at a time. PL/SQL Libraries - These are libraries of PL/SQL code (stored either in the database or in .plb files). Libraries can be shared among different forms and among different developers. Object Libraries - These are libraries containing a collection of objects (anything that can appear on a form). Built-in Packages - Lists all of the packages (PL/SQL procedures) available by default to all forms, reports, etc. Database Objects - Lists all of the database objects (Tables, Views, PL/SQL Libraries, and Stored Program Units) in the user's Oracle database schema.

Layout Editor To design the outlook of the interface. The Layout editor is where you design the look and feel of your canvases or screens; this is what the client or user is going to interact with. If the layout of a canvas (screen) is pleasing to the eye, you are halfway there. While working with canvas views, you can control the application's color, size, font, data access, and style. The Layout editor is fully WYS/WYG. This is where you place all of the objects for the particular screen that is being developed.

Property Palette Click the control component and press mouse right key, then select the option ‘Property Palette’. the Property palette is used to set object attributes or characteristics. The nature of the characteristics you define using a Property palette depends on what type of object is being designed. You can set the property of objects and achieve a lot of different looks.

PL/SQL Editor PL/SQL Editor is where all PL/SQL code can be added, modified, removed, and compiled. The PL/SQL editor is where all PL/SQL code can be added, modified, removed, and compiled. This is where all of the form's triggers and procedures are edited and compiled. It is also where database procedures can be accessed, modified, and compiled. The PL/SQL editor is accessed by selecting the PL/SQL Editor menu option under the Program menu in the Form Builder console.

Log into Database Put your user name and password (same as sqlplus), and click connect.

Create a single block form In general, a Data Block on a form corresponds to a table or a view in the database. This is called the Base Table for the data block. A canvas is the place to show the data in data block. Create a module named “orders”.

Step 1 create a data block for table department 1.In the Module you want to add a block, right click on the Data blocks, select Data Block wizard in the popup menu. 2.select a table from database and add all columns

Step 2 create Layout for data block department 1.In menu Tools click the Layout wizard 2.The layout for a data block may be placed on any existing canvas. In this case, there are no canvases so the only option available is to create a new canvas. 3.select the data block and add all columns 4.select style There are two main styles for forms. A Tabular layout arranges the field labels across the top of the form with a number of records below as in a spreadsheet. A Form layout places the field labels to the left of the fields. Generally only one record is displayed at a time. 5.select the title and the num of record showed at the same time.

Step 3 run the form In menu program click run form, a execution window will pop up. In the menu bar “Query”, click on “enter query”, then click on “execute query”, the data requested will be displayed in the blocks.

Step 4 Do a simple query on a condition Change the property of data block ORDERS to do a simple query Right click on data block ORDERS Select property palette Change where property to ORDERDATE > ’01-AUG-2000’ Run the form again to see the changes

Smart Trigger “when-new-form-instance” In the PL/SQL editor: execute_query; The query will be automatically executed when the form runs.

Create a Master-Detail Form The Master-Detail relationship is a common relationship between entities. In an Entity-Relationship diagram, these are shown as "One to Many" relationships. In a physical database design, a single Master record references one or more detail records in another table. A record in the detail table will relate to exactly one master record in the master table. It is based on a single data block created before.

Create a Master-Detail Form (cont.) Step1 create a master data block for ORDERS Create a single block form whose data block is associated with master table Step 2 create the layout for data block ORDERS Same as before

Create a Master-Detail Form (cont.) Step 3 create a detail data block for ORDERS Use data block wizard to create the relationship De-select the Auto-join data blocks option Arrange the Detail Item (ORDERID) and Master Item (ORDERID) as that the join condition becomes: ORDER_ITEM.ORDERID =ORDER_.ORDERID

Create a Master-Detail Form (cont.)

Create a Master-Detail Form (cont.) Step 4. create the layout for data block employee. Don’t create a new layout, select the layout for data block ORDERS. Others are the same.

Create a Menu Creating the menu module and menu items Assigning commands to menu items Attaching a menu module to a form

Create a menu (cont.) Step 1 Creating a menu module and menu items Navigate down to the Menus subtree in the Object Navigator, pull down the Navigator menu and choose the Create “new menu” item Right click your module named as “MENU_TRY”, select menu editor, add three menu item: orders, customers, exit in the menu editor.

Create a menu (cont.) Step 2 Assigning commands to menu items right click the menu item select PL/SQL editor Add in exit: EXIT_FORM; Add in orders: BEGIN run_product(forms,'orders',synchronous,runtime,filesystem,'',''); exit_form; END; Add in employee: run_product(forms,‘customer',synchronous,runtime,filesystem,'',''); Note : the module name (form file name) is case sensitive.

Create a menu (cont.) Step 3 Attach a menu module to a form Before you use the menu, you must compile it. To compile the menu, highlight the module in file menu, select “administration” from menu “File” then select “compile file”. Menu module name is the file name of the menu. For example, MAIN_MENU.mmb In the property palette of the form “orders” (the form you want to attach the menu to), input your menu module name in menu_module property.

Summary Form Menu Source file .fmb .mmb Executable file .fmx .mmx