Introduction To Form Builder

Slides:



Advertisements
Similar presentations
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Advertisements

UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
Enhanced Guide to Oracle 10g
Microsoft Excel 2010 Chapter 7
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 1 Databases and Database Objects: An Introduction
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.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
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 A. 2Eyad Alshareef Data Block and Custom Forms Data block form Data block form Based on data blocks that are.
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?!
Pasewark & Pasewark 1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2007: Introductory.
Access Lesson 4 Creating and Modifying Forms
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
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.
Advanced Forms Lesson 10.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Chapter 1 Databases and Database Objects: An Introduction
Creating a Web Site to Gather Data and Conduct Research.
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T8: Decision Making Using Access 2007 Business Driven Technology.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
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.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
© 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post.
Eyad Alshareef 1 Introduction To Form Builder Part B.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
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,
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
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.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
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,
CHAPTER 7 LESSON B Creating Database Reports. Lesson B Objectives  Describe the components of a report  Modify report components  Modify the format.
Running a Forms Developer Application
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
Creating Database Reports
Introduction To Form Builder
Presentation transcript:

Introduction To Form Builder Part A Eyad Alshareef

Forms Application with a graphical user interface that looks like a paper form Used to insert, update, delete and view database data Eyad Alshareef

Primary Form Uses Viewing/retrieving records Inserting/updating/deleting records Counting the number of records a query will retrieve Eyad Alshareef

Data Block Forms Form associated with a specific Oracle database table (object) System automatically creates: Text fields associated with table fields Programs for inserting, modifying, deleting, and viewing data records Eyad Alshareef

Data Block Forms ORACLE 10g forms are displayed on web browser as a web page. They are displayed in Forms Services Window. The form specification is translated into Java Applet. They are Dynamic Web Pages. Eyad Alshareef

Displaying Forms in a Web Browser Developer10g displays forms as Web pages In Web browser Form appears in Forms Services window within browser window Forms Services application displays menus and toolbar Provide general functions for all form applications Eyad Alshareef

Architecture of the World Wide Web Web browsers (IE, Mozilla, Foxfire) Web servers Web page Static (always displays the same information ) Dynamic (the content varies based on user inputs or data retrieved from external resources ) Forms Builder form Dynamic Web page Derives content from Oracle 10g database Eyad Alshareef

How Forms Builder Displays a Form in a Browser Java applet Self-contained Java program that runs in a web browser generic java runtime environment OC4J Instance Translates compiled .fmx file into Java applet Downloads Java applet to Web browser Eyad Alshareef

Using a Data Block Form Block Data block Text items Form menu Group of related form items Data block Corresponds to specific database table Contains objects that display values from table’s data fields Text items Form menu Contains selections to manipulate form Eyad Alshareef

Using a form to view table record Eyad Alshareef

Form Modes Normal Enter Query You can view records and sequentially step through records Enter Query You can enter search parameters in form fields and then retrieve the associated records To place the form in Enter Query mode, click the Enter Query button Eyad Alshareef

Forms Services Window Form menu contains selections that allow you to manipulate the form Has a toolbar with buttons to insert, view, modify, and delete records At bottom of the window are lines that display information about form status Eyad Alshareef

Forms Services Window Eyad Alshareef

Inserting New Records In Normal mode, click the Insert Record button to insert a new blank record Type the data values in the form fields Click the Save button to save the values in the database Eyad Alshareef

Retrieving Records Click the Enter Query button to place the form in Enter Query mode Type a search condition Click the Execute Query button to retrieve selected records If you click , do not enter a search condition, and then click , all table records will be retrieved Eyad Alshareef

Form Search Types Exact search: only retrieves records that exactly match the entered search condition Restricted search: retrieves records that fall within a range of values Eyad Alshareef

Restricted Search Operators _: wildcard replacing a single character %: wildcard replacing multiple characters >, <: greater than, less than >=, <=: greater than or equal to, less than or equal to <> or !=: not equal to Eyad Alshareef

Scrolling Through Retrieved Records To view the next record, click the Next Record button To view the previous record, click the Previous Record button Eyad Alshareef

Updating and Deleting Records Retrieve the record to be updated or deleted To update, change the data value and click the Save button To delete, click the Remove Record button Eyad Alshareef

Closing a Form and Committing Changes To close a form: Click Exit button Click Action on the form menu and then click Exit Close browser window If unsaved changes exist, dialog box will prompt to save changes Eyad Alshareef

Creating Data Block Form Eyad Alshareef

Start Oracle Form Builder Eyad Alshareef

Start OC4J Instance Eyad Alshareef

Creating a new form Create a new module Create a data block Create a layout Eyad Alshareef

Data Block Form File Types .fmb Form design file, used by form programmer in Form Builder .fmx Form executable file, run by form users Eyad Alshareef

Creating a Data Block Form When creating a form for a table, Forms Builder automatically creates: Labels Text entry fields Insert, update and delete and select queries Eyad Alshareef

The Object Navigator Eyad Alshareef

The Object Navigator Displays Forms Builder objects and underlying components As hierarchical tree Forms Builder toolbar displays buttons Form module Object node + indicates lower-level objects - indicates node expanded fully Eyad Alshareef

Form Components Form module: form application Form window Title bar on top Horizontal and vertical scrollbars Can be resized, maximized, minimized Eyad Alshareef

Form Components Canvas Block Form items Surface that displays form items Block Object that contains form items Form items Command buttons, radio (option) buttons, text items Items in the same block can appear on different canvases Eyad Alshareef

Form Components Window Canvas Block of items Name Cash Check Credit Card Eyad Alshareef

Creating a New Data Block Form Create a new form module Create a new data block using: Data block wizard Manual process Using Data Block Wizard: Select table name Move editable fields from Available Columns list to Database Items list Use Layout Wizard to create form layout Eyad Alshareef

Layout Editor Use to customize form display Can add images and static text to enhance form appearance Eyad Alshareef

Layout Editor Eyad Alshareef

Creating a Data Block Form Steps: 1. Create the data block using the Data Block Wizard 2. Create the form layout using the Layout Wizard Eyad Alshareef

Data Block Wizard Welcome page Type page Table page Finish page Select table or view on which to base the block source Table page Select table associated with form Enforce Integrity Constraint Check Box Finish page Option to use the Layout Wizard to automate creating the layout Eyad Alshareef

Layout Wizard Canvas page Data Block page Items page Style page Select the canvas where the block is displayed Data Block page Select the fields that are displayed on the layout Items page Specify the column labels, heights and widths Style page Specify to create a form- or tabular-style layout Eyad Alshareef

Layout Styles Form style Tabular style One record appears on the form at a time Tabular style Multiple records display on the form in a table Eyad Alshareef

Create a new form based on MODULE1 Go to File/New/Form – a new module is added to your object navigator window Click on MODULE2 and rename it into STUDENT Eyad Alshareef

Create a data block based on a table Right click on the STUDENT module and select Data Block Wizard Click next on the Data Block Wizard welcome page Eyad Alshareef

Creating a data block (cont’s) Select Table/view option Select a table by clicking on Browse button Eyad Alshareef

Selecting a table (cont’d) When you click browse, you will be prompted to log in Login into your usual account and select table STUDENT from the displayed list Eyad Alshareef

Select database items Move all the attributes into selected attributes pane using arrow buttons Eyad Alshareef

Name your data block Eyad Alshareef

Select the “… then call the Layout wizard” option Eyad Alshareef

Creating a layout Layout wizard allows you to create a form layout Click next on the welcome page and select content canvas type Eyad Alshareef

Select items to be displayed Modify the labels (prompts) and widths of corresponding text boxes if necessary Eyad Alshareef

Select a layout Select form layout Name the frame Select the number of students to be displayed Eyad Alshareef

Complete and view the form Complete and view the form design Eyad Alshareef

Form Builder Wizards Are Re-entrant You can select a block or layout, then re-enter it and modify its properties using the Wizard A Wizard is in re-entrant mode when its pages appear as tabs Eyad Alshareef

Creating a Form to Display Multiple Records Tabular layout Display multiple records on same form Select Tabular on Style page of Layout Wizard Eyad Alshareef

Creating a Form to Display Multiple Records Use tabular layout to edit multiple table records at the same time Eyad Alshareef