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.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Enhanced Guide to Oracle 10g
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.
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,
Forms and Reports. Development environment Forms Builder Reports Builder Oracle SQL*Plus client (TNSnames.ora) Forms runtime engine.
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.
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?!
Access Lesson 4 Creating and Modifying Forms
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Lesson 28: Exploring Access Learning Objectives After studying this lesson, you will be able to:  Define database and key terms associated with.
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.
Working with a Database
Chapter 1 Databases and Database Objects: An Introduction
Creating a Web Site to Gather Data and Conduct Research.
1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2010 Introductory.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
ACCESS Part 2. OBJECTIVES  Use the Form Wizard  Create a split form  Use Form Layout View  Add fields to a form  Modify form controls  Create calculations.
Audio Dial In: or CRM to RM Visual CRM to MS-CRM 2007 Visual User Group Nov 21 st 2007.
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
Lesson 1: Exploring Access Learning Objectives After studying this lesson, you will be able to: Start Access and identify elements of the application.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
Database Applications – Microsoft Access Lesson 1 Introduction 26 Slides in Presentation Updated 8/12.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
© 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post.
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.
Microsoft Access Lesson 2 Lexington Technology Center February 13, 2003 Bob Herring On the Web at
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Online Catalog Tutorial. Introduction Welcome to the Online Catalog Tutorial. This is the place to find answers to all of your online shopping questions.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
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.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
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.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Lesson 3: Working with Forms. Learning Objectives After studying this lesson, you will be able to: Identify form design elements Create and print forms.
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.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Working with Data Blocks and Frames
Creating Oracle Business Intelligence Interactive Dashboards
Working in the Forms Developer Environment
Creating a Basic Form Module
Developer 2000 CSE 4504/6504 Lab.
Microsoft Office Access 2003
Microsoft Office Access 2003
Creating a Master-Detail Form
Introduction To Form Builder
Exploring Microsoft® Office 2016 Series Editor Mary Anne Poatsy
Presentation transcript:

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 Wizard. SIMPLE FORMS

CUSTOMER {CustomerNumber, CustomerName, StreetAddress, Town, Province Primary Key: CustomerNumber INVENTORY {InventoryNumber, Description, Colour, QuantityOnHand, Cost} Primary Key: InventoryNumber SUPPLIER {SupplierNumber, SupplierName, StreetAddress, Town, Province, FreightInArea} Primary Key: SupplierNuymber SUPP_INV {SupplierNumber, InventoryNumber} Primary Key: SupplierNumber, InventoryNumber Foreign Key: SupplierNumber references SUPPLIER Foreign Key: InventoryNumber references INVENTORY INVOICE {InvoiceNumber, SaleDate, CustomerNumber} Primary Key: InvoiceNumber Foreign Key: CustomerNumber references CUSTOMER INVOICE_LINE_ITEM {InvoiceNumber, LineItemNumber, InventoryNumber, Quantity} Primary Key: InvoiceNumber, LineItemNumber Foreign Key: InventoryNumber references INVENTORY Schema of the example database

P = primary key F = foreign key P P F P P F Tables used in this presentation

P P & F Tables used in this presentation, continued

CUSTOMER CustomerNumberCustomerNameStreet AddressTownProvincePostal CodeCompany Sales Area 5155George Black379 Queen Street WHamiltonOntarioL8C 2B Stephanie Green491 Baker StreetTorontoOntarioM3C 1J Alice Van Dunn296 Orton AvenueWinnipegManitobaR3A 8T Bonnie Stewart739 Sutton LaneOttawaOntarioK2G 1V Jake Solaris2176 Alcott CrescentVancouverBritish ColumbiaV6A 7G Jane Quicker12 Fred StreetMontrealQuebecH4G 9E34 INVOICE InvoiceNumberSaleDateCustomerNumber / / / / / / / / / / INVOICE_LINE_ITEM InvoiceNumberLineItemNumberInventoryNumberQuantitySold Primary Key Foreign Key Values in the tables

INVENTORY InventoryNumberDescriptionCostSupplierNumber Washer Dryer Small Refrigerator Medium Refrigerator Large Refrigerator Gas Range Electric Range Barbeque Microwave Freezer SUPPLIER SupplierNumberSupplierNameStreetAddressTownProvincePostal CodeFreightInArea 9625Able Company484 Gain RoadTorontoOntarioM9B 3P5Central 9758Delta Manufacturers378 Sleet BoulevardWinnipegManitobaR7B 5W2West 9876Foxtrot Limited187 Dock StreetSault Ste. MarieOntarioP6B 4E2West 9961Global Exports2876 Hacker RoadMontrealQuebecH1G 6R5East 9972Juniper Goods953 Broad StreetHamiltonOntarioL8E 3V7Central SUPP_INV SupplierNumberInventoryNumber Primary Key Foreign Key Primary Key & Foreign Key Values in the tables continued

EMPLOYEE Employee Number EmployeeLast Name EmployeeFirst Name Street AddressTownProvincePostal Code Employee Type Manager Number 1000JohnstonGerald7145 Quarterly RoadTorontoOntarioM6C 8R SimpsonAllison595 Tatterly AvenueTorontoOntarioM6E 5V SpinnerJames3815 Gottago StreetOakvilleOntarioL6M 6R BeefAngus64 Stockyard CrescentMississaugaOntarioL5L 9G BrownstoneVincent4234 Uppity BoulevardOakvilleOntarioL6L 7T WindstormJane6710 Nonesuch AvenueBramptonOntarioL6P 1Y HiggenbottomPaul22 Dungeon StreetBurlingtonOntarioL7M 8T WormholeIna78 Oval CircleTorontoOntarioM3C 9H BluecollarArthur4572 Higgins StreetBramptonOntarioL6R 4K BlackpantsSusan10 Younger RoadMississaugaOntarioL5P 9H BottomtopMartha71345 White Acres RoadMarkhamOntarioL3R 9G AboutfaceGeorge432 Gasoline AlleyTorontoOntarioM4E 1K EMPLOYEE TYPE TypeNumberTypeName 1Administration 2Sales 3Manufacturing SALES AREA AreaNumberAreaName 1Central 2Main 3East 4French East 5West Central 6West

Open the Oracle Forms Builder and Logon to the database Enter File, Connect. The popup will appear as shown on the next slide.

A new module is shown. This will be later saved under a desired name. Select Data Block Wizard in order to create the Data Block

Create a Data Block for CUSTOMER A Data Block contains the fields to be displayed from a selected table.

Select Table or View

Browse for the available tables

Tables owned by the user. Select CUSTOMER

Move all columns but for Postal Code and Company Sales Area

The columns have been moved

Name the Data Block CUSTOMER

Continue by using the Layout Wizard

The Layout Wizard

Select a New Canvas. This can be given a name at a later time Select Content. See the next page for details.

A canvas is the object on which the graphical user interface (GUI) is drawn, or the background of the form. At run-time, the user only sees those items that have been assigned to a specific canvas. Each canvas is displayed in a specific window. A a frame provides a way to interact with the window including the ability to scroll, move, update etc. There are five main types of canvases. The three main ones are: 1.Content: Also called the “Base” canvas, is the main and default type of canvas. It occupies the entire window in which it is displayed. Each form should have at least one content canvas. 2.Tab: This allows for a number of tabbed pages to be shown on each canvas. One tab could show Customer, another could show Supplier. The tab is clicked-on to bring up the form. Adds, changes and deletes are allowed. 3.Stacked: One canvas can be stacked upon another so that the user can see several canvasses at the same time. A stacked canvas is stacked on, or displayed on top of, the content canvas. More than one stacked canvas can be displayed at the same time.

This shows that the Data Block CUSTOMER is being used. Move all items over

All columns have been moved

The Prompt, Width, and Height can be modified. Modify the Prompt names to a more readable format.

The Prompt has been modified. The Prompt is the word that appears on the Form.

Choose the Form layout. The Form layout shows the contents as a form, not a table. Tabular layout shows the contents of the table in table format

Name the frame CUSTOMER Allow 5 records to be displayed Choose to display the Scrollbar

The form has been created.

This is what the CUSTOMER Form layout looks like. It can be modified later. The Frame Title

Compile the CUSTOMER Form

Run the CUSTOMER Form

The CUSTOMER Form is run in Windows Explorer as a Web application. The format could be more user-friendly. It can now be saved and modified.

File, Save As - CUSTOMER

MODULE1 will now be named CUSTOMER

The CUSTOMER module is the active module. CANVAS4 is the canvas, using the (CUSTOMER) frame The tool palette will aid in modifying the form

In the Object Navigator, under Tools, right click on CUSTOMER. This will bring up the Property Palette

This is the Property Palette for CUSTOMER. In the palette the form can be modified

Notice the black dots around the CUSTOMER frame. Right click to bring up the Property Palette The Layout Editor of the CUSTOMER frame

The Physical properties of the CUSTOMER frame. Set the width at 530

The width has been highlighted and set to 530. Close the screen after setting the width at 530.

The width has been increased.

Highlight the Scroll Bar. Right click to bring up the Property Palette

The Scroll Bar properties. Set the X Position at 520

The Scroll Bar position has changed. Now the CUSTOMER fields need to be rearranged

The name field has been highlighted. Right click to bring up the Property Palette.

Scroll down to the Physical characteristics.

Change the X coordinate to 150 and the Y to 29

All Name fields have been moved

Highlight the Address field and change the X coordinate to 350 and Y to 29

All the Address fields have moved.

Highlight the Town field and change the X coordinate to 150 and Y to 43

Highlight the Province field and change the X coordinate to 350 and Y to 43

The result when the form is run. Click Ctrl-F11 to show the individual customers in the CUSTOMER table. Note: If the user is already logged into the database through SQLPlus, Ctrl_F11 will not work. Thus quit SQLPlus before trying Ctrl_F11.

The CUSTOMER fields are now filled. Scroll down to look at the sixth customer.

File-Save As CUSTOMER

A line has been added with X = 7, Y = 64, and a width of 529 The Line tool. The Line colour tool. This has been changed to a dark grey

Three more lines have been added with the following coordinates: 1.X = 7, Y = 106, W = X = 7, Y = 148, W = X = 7, Y = 190, W = 529

The final formatted Customer form

The CUSTOMER Module Fields in the CUSTOMER Data Block The CUSTOMER Data Block Within CANVAS6, FRAME7 can be renamed CUSTOMER_FRAME Notice the four lines that have been added as shown in slide 50

The renamed CUSTOMER_FRAME using the Property Palette