Working in the Forms Developer Environment

Slides:



Advertisements
Similar presentations
Copyright Ó Oracle Corporation, All rights reserved Sharing Objects and Code.
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
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?!
23 Copyright © 2004, Oracle. All rights reserved. Sharing Objects and Code.
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.
IE 411/511: Visual Programming for Industrial Applications
Forms - An Overview of Oracle Form Builder v.6.0 Abhishek Parag Prashant Arun.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
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.
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.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
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.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
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,
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.
Dive Into® Visual Basic 2010 Express
Running a Forms Developer Application
Eyad Alshareef, Edited by: Mostafa Ali
Forms Concepts Triggers Fired when Internal/External events occur
Working with Data Blocks and Frames
Creating Oracle Business Intelligence Interactive Dashboards
Creating a Basic Form Module
Developer 2000 CSE 4504/6504 Lab.
Creating LOVs and Editors
Objectives At the end of this session, students will be able to:
Learning the Basics – Lesson 1
Building a User Interface with Forms
Developing Forms and Subforms.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Working in the Form Builder Environment
Introduction to Triggers
Lecture on Oracle Forms
Introduction to the Visual C# 2005 Express Edition IDE
DB Implementation: MS Access Forms
Chapter 7 Advanced Form Techniques
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
MODULE 7 Microsoft Access 2010
Chapter 2 – Introduction to the Visual Studio .NET IDE
Chapter 6: Creating Custom Forms
Using JDeveloper.
DB Implementation: MS Access Forms
Producing Triggers Schedule: Timing Topic 40 minutes Lecture
Creating Noninput Items
Creating a Master-Detail Form
Chapter 8: Creating An Integrated Database Application
Guidelines for Microsoft® Office 2013
Grauer and Barber Series Microsoft Access Chapter One
Creating Additional Input Items
Presentation transcript:

Working in the Forms Developer Environment

Objectives After completing this lesson, you should be able to do the following: Describe Forms Builder components Navigate the Forms Builder interface Identify the main objects in a form module Customize the Forms Builder session Use the online help facilities Identify the main Forms executables Describe the Forms module types Set environment variables for design and run time Run a form from within Forms Builder Introduction Overview This lesson provides you with an overview of Forms Builder, including a high-level description of its components and object hierarchy. Using this knowledge, you can plan and implement the structure of your form applications.

Forms Builder Key Features With Forms Builder you can: Provide an interface for users to insert, update, delete, and query data Present data as text, image, and custom controls Control forms across several windows and database transactions Use integrated menus Send data to Oracle Reports

Forms Builder Components: Property Palette Copy and paste properties Fast search feature

Forms Builder Components: Layout Editor Toolbar Tool palette Demonstration Go to the Layout Editor. Point out the major tools in the toolbar. Demonstrate some of the major tools in the Tool palette. Draw a rectangle and an ellipse, and also show how to draw a square and a circle by holding down the [Shift] key when using the rectangle and ellipse tools. Demonstrate selecting multiple objects and show how to group various objects. Demonstrate resizing, moving, aligning, coloring, and deleting objects. Demonstrate using the Text tool and changing the font style and size. Demonstrate how to pin a tool by double-clicking a tool.

Forms Builder Components: PL/SQL Editor With the PL/SQL Editor you can: Use PL/SQL in Forms. Enter and compile code.

Getting Started in the Forms Builder Interface Start Forms Builder Connect to the database: Menu: Select File > Connect Or Toolbar: Click Connect

Blocks, Items, and Canvases Block A Block B

Forms Builder Components Items: These are interface objects that present data values to the user or enable the user to interact with the form, depending upon the item type. There are several different types of items. Items are logically grouped into blocks and visibly arranged on canvases. Blocks: A block is the intermediate building unit for forms. Each form consists of one or more blocks. A block is the logical owner of items, and each item in a form belongs to a block. Items in one block are logically related; for example, they may correspond to columns in the same database table or may need to be part of the same navigation cycle. Blocks therefore provide a mechanism for grouping related items into a functional unit for storing, displaying, and manipulating records.

Forms Builder Components (continued) Canvases: A canvas is a “surface” where visual objects, such as graphics and items, are arranged. A form module can have several canvases (like the pages of a paper form). A canvas can display items from one or more blocks. To see a canvas and its items, you must display the canvas in a window. By default, all canvases in a form appear in the same window (which could mean you see only one canvas at a time), but you can assign separate windows for each canvas so that several canvases can be viewed at once.

Navigation in a Form Module When you run a form, you principally navigate by way of items and blocks, not by canvases. Each item has a sequenced position within its block, and each block has a sequenced position in the form. When a user requests to move to the next item in a block, focus will be set on the next item in sequence, wherever that may be. If the next item is on a different canvas, Oracle Forms Developer displays that canvas automatically. Similarly, users can request to move to the next block (or previous block). If the first item in this block resides on another canvas, then that canvas is displayed automatically.

Data Blocks A B C Master Data Block 2 A B C D Table 3 4 1 Detail Data Block 5 X Y Z X Y Z 6 Table

Types of Blocks In Forms Builder there are two main types of blocks: data blocks and control blocks. Data Blocks When you build database applications with Forms Builder, many of the blocks will be data blocks. A data block is associated with a specific database table (or view), a stored procedure, a FROM clause query, or transactional triggers. If it is based on a table (or view), the data block can be based on only one base table, even though the data block can be programmed to access data from more than one table and data sources. By default, the association between a data block and the database enables the user to automatically access and manipulate data in the database. However, to access data from other tables (nonbase tables), you need to write triggers.

Types of Blocks Data Blocks When you build database applications with Forms Builder, many of the blocks will be data blocks. A data block is associated with a specific database table (or view), a stored procedure, a FROM clause query, or transactional triggers. Control Blocks A control block is not associated with a database, and its items do not relate to any columns within any database table. Its items are called control items. For example, you can create many buttons in your module to initiate certain actions and to logically group these buttons in a control block.

Master Versus Detail Blocks To support the relationship between data blocks and their underlying base tables, you can define one data block as the detail (child) of a master (parent) data block. This links primary key and foreign key values across data blocks, and synchronizes the data that these data blocks display. Forms Builder automatically generates the objects and code needed to support master-detail relationships. As the designer, you need only request it. Note: If your application requires it, you can also create independent data blocks in which there is no relationship between the two data blocks.

Forms and Data Blocks Block 1 Block 1 Block 1 Form C Block 2 Open Form Form A Form B Multiple Form Modules Block 4 Single Form Module

Form Module Hierarchy Module Database Table Blocks Column Trigger Item Frame Item Program Canvas Program Units Item units Trigger Technical Note Trigger Window

Multi-Block and Multi-Form Applications A form module is made up of one or more blocks. A data block is based on a database object, such as a table or a view. A data block can contain both data items and control items. A frame can be created to arrange data block items. Each item in a block must appear on a canvas, and each canvas must appear in a window. A form module can have one or more canvases and windows. Using triggers, you can add functionality to your form. Triggers can be written at different levels in a form module. User-named program units enable you to write additional PL/SQL code through procedures, functions, and packages.

Customizing Your Forms Builder Session

What Are Oracle Forms Developer Preferences? You can use preferences to customize some aspects of your Forms Builder session. To modify preferences, perform the following steps: 1. Select Edit > Preferences. 2. Specify any options that you require. Click OK to save changes, or Cancel to cancel changes.

Testing a Form: The Run Form Button With the Run Form menu command or button, you can: Run a form from Forms Builder Test the form in a three-tier environment The Run Form command takes its settings from Preferences: Edit > Preferences Runtime tab Set Web Browser Location if desired Set Application Server URL to point to Forms Servlet: http://127.0.0.1:8889/forms90/f90servlet

To Exit a session The correct way to exit a Forms session is to exit the form (File > Exit, or click Exit), then close the browser. If you close the browser without first exiting the form, your session may hang. You will notice this because you may not be able to recompile the same form, but will receive the error: FRM-30087: Unable to create form file. If this happens, you will need to open Task Manager and end the ifweb90 process manually.

Practice 3 Overview This practice covers the following topics: Becoming familiar with the Object Navigator Setting Forms Builder preferences Using the Layout Editor to modify the appearance of a form Setting run-time preferences to use OC4J to test applications Running a form application from within Forms Builder