Form Development (Chapter 6)

Slides:



Advertisements
Similar presentations
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Advertisements

Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Access.
1 Linking & Consolidating Worksheets Applications of Spreadsheets.
Tutorial 8: Developing an Excel Application
Chapter 07: Lecture Notes (CSIT 104) 1111 Exploring Microsoft Office Excel 2007 Chapter 7 Data Consolidation, Links, and Formula Auditing.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Chapter 5: Database Forms and Reports
Chapter 1 Databases and Database Objects: An Introduction
Automating Tasks With Macros
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,
Access Tutorial 1 Creating a Database
Tutorial 6 Using Form Tools and Creating Custom Forms
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
Advanced Forms Lesson 10.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 12 1 Microsoft Office Access 2003 Tutorial 12 – Managing and Securing a Database.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
CSS/417 Introduction to Database Management Systems Workshop 2.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
Microsoft Access 2000 Presentation 1 The Basics of Access.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
® Microsoft Office 2013 Access Creating a Database.
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
An Introduction to Forms. The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road map, we are.
Visual Basic for Application - Microsoft Access 2003 Finishing the application.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Peter Rob and Elie Semaan Databases: Design, Development, and Deployment Using Microsoft Access Second Edition Reports and Labels (Chapter 7)
Microsoft Access 2013 ®® Case Study Creating a Database.
Excel Tutorial 8 Developing an Excel Application
Databases: What they are and how they work
Tutorial 1 Creating a Database
Microsoft Access 2016 Build User-Friendly Database Systems
Creating Custom Reports, Macros, and Switchboards
Microsoft Access 2016 Simplify Data Entry with Forms
Working in the Forms Developer Environment
Microsoft Access 2007 – Level 2
Microsoft Access 2013 Bobby Wan.
Access Tutorial 1 Creating a Database
Microsoft Office Access 2003
Building a User Interface with Forms
Developing Forms and Subforms.
BASIC INFORMATION ABOUT DATABASE MANAGEMENT SOFTWARE
Exploring Microsoft Office Access
GO! with Microsoft Access 2016
GO! with Microsoft Office 2016
Access Creating a Database
Microsoft Office Illustrated Fundamentals
Access Creating a Database
Simplify Data Entry with Forms Chapter 3
DB Implementation: MS Access Forms
Build User-Friendly Database Systems Chapter 7
Chapter 7 Advanced Form Techniques
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Case Study Creating a Database
Exploring Microsoft Office Access
Microsoft Office Access 2003
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Microsoft Office Access 2003
DB Implementation: MS Access Forms
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Grauer and Barber Series Microsoft Access Chapter One
Introduction to Medisoft
Unit J: Creating a Database
Presentation transcript:

Form Development (Chapter 6) Peter Rob and Elie Semaan Databases: Design, Development, and Deployment Using Microsoft Access Second Edition

Forms: Definition, Use, and Function Forms play a crucial role in the database applications arena because they help connect the end user to the database. This crucial function is exercised in several ways: Forms are used to enter new data and to edit existing data. Although this function can, in a primitive way, be met through the use of the datasheet format, using the datasheet for data entry and editing lacks the safety features that forms can provide. In addition, end users demand logically connected and visually appealing interfaces that only forms can supply.

Forms: Definition, Use, and Function (Cont) 2. Data entry and edit procedures are subject to human error. Although you learned (in Chapter 4) how to use input masks and validation rules to control at least some input formats and values, input errors must be controlled to an even greater extent. Fortunately, forms may be designed to extend the data validation rules through queries, value lists, and other input control devices.

Forms: Definition, Use, and Function (Cont) 3. Forms are used to tie together the database components through menu structures. Therefore, forms enable the applications designer to control database access paths. The use of such access paths can then be controlled through password protection, read-only access, and other security measures. (We will examine security issues and the creation of security systems in Chapter 10.) In short, it is difficult to conceive of a successful database environment in which forms do not play a dominant role.

Form Prerequisites Given the many roles played by forms and their many structures, you must always begin by defining the details of the conditions that govern form structure and use. Therefore, you should recognize the following possibilities and requirements: A form may be based on one or more tables. The table(s) must exist before the form is created. A form may be based on one or more queries. The query (or queries) must exist before the form is created.

Form Prerequisites (Cont) A form may be based on a combination of tables and queries. If the form is based on multiple tables, the relationships between those tables must be established before you try to create the form. (Naturally, if the forms are based on multiple-source queries, the relationships must be present at the query level.) Those relationships are inherited from the tables or they are created at the query level as needed.

Form Prerequisites (Cont) A form may include one or more unbound controls. An unbound control is a component that does not have a data source attached to it. (A data source is likely to be a table or a query, but it may also be a mathematical expression.) Unbound controls are commonly used to create input spaces, labels, and instructions. Forms such as dialog boxes and menus do not use any record source. Such forms are created by selecting the Blank Form option from Access.

Creating a Form with the Form Wizard To create a form follow these Steps: Start at the database window, select the Forms tab, and then click on the New option in the toolbar to generate the New Form dialog box. Also, you can click on Create form by using the wizard on the Forms tab to start creating a form using the wizard. From the New Form window select the type of Form you want to create and select the Table or Query you want to use as a data source and click Ok to create your Form.

Creating a Form with the Form Wizard (Cont) After the wizard creates your Form select View/Design View from the menu bar to access the Form in design view. Modify the Form’s presentation format by following the steps explained in section 6.3. Save your Form.

Creating Forms without using the wizard Forms may be based on tables, or they may be based on queries. (You should recall that the Form Wizard gave us an option to select the data source.) However, forms may also be constructed without specifying a data source at the time of their creation. Such forms may then be used to show query results, listing more than one record at a time. Creating such forms will satisfy two requirements. First, they will enable us to present query results more attractively. Second, they will enable us to use the query results as input for another form, a report, or even another query. This second function will be used to great advantage as we combine the forms we create in this chapter with the macros in Chapter 8.

Creating Forms without using the wizard (Cont) To create a Form without using the wizard follow one of the steps: Click on the New option in the toolbar on the Form tab, then select Design View from the New Form window, and click Ok. Click on the Create form in Design view on the Form tab. Follow the steps explained in section 6.4 to modify your form.

Creating a Sub Form One of the really useful form features is that forms may be linked to other forms to show data relationships on a single screen. The ability to display linked forms simultaneously is particularly useful when you have to process multilevel transactions. For example, if you want to perform invoicing transactions on the screen, it would be awkward to first open the invoice, make an entry, open the first invoice line, make an entry, close the line entry, open the invoice again, and so on, until you are done. You would have the same problem if you would want to examine the past invoices and all their invoice lines. Leaving the relevant invoice on screen while you are scrolling through its lines would be much better.

Creating a Sub Form (Cont) Access makes it easy by using subforms. Follow the steps described in section 6.5 to create a subform.

Dialog Boxes A dialog box is only a Pop Up form which is used to get the user attention or to request an input from the user. Follow the steps described in section 6.6 to create a dialog box.

Menus Menus are used to create fully integrated database applications systems. Menu-driven systems are desirable because they: Help make the database applications system user-friendly by eliminating the need to remember command languages. Menu-driven systems tend to be easy to learn and use, thus driving down training and end-user support costs.

Menus (Cont) 2. Control access by providing only those options that allow people to do their jobs efficiently, shielding the other database options and components from casual use. Although technically knowledgeable end users can easily defeat this aspect of most menu systems, at least the casual end user is less likely to accidentally enter areas that are considered to be off-limits. Similarly, casual end users are not likely to do accidental damage to the database.

Menus (Cont) 3. Provide an environment in which system-level database security is easier to create and manage. Although you will learn in Chapter 10 how the database administrator can provide security through various Access security functions, menu systems make it easier to block off portions of the database and its applications. In fact, menu systems can promote reasonable levels of security even in the absence of administrative security measures. The menu systems can also augment administrative security measures by providing password-protected menu options.

Menus (Cont) 4. Create an environment that is tailored to specific types of applications and end users. For example, different departments of a business may use customized applications that are easily available only through menu systems. In fact, each department may even have its own menu system, and its end users may be unable to enter the menus of other departments without proper authorization.

Menus (Cont) In short, end users and database administrators like menu systems because they are easy to use, tend to be relatively goof-proof, and fit well into the database security framework.

Embedded and Linked Objects The difference between object linking and object embedding is simple. A linked object is one that maintains its ties to the originating software. Therefore, if the original object is changed in the originating software, the change will automatically update all object copies that are attached to other objects. An embedded object is one that no longer has ties to the software from which it was generated. Therefore, the embedded object is not automatically updated when the object in the originating software is changed.

Embedded and Linked Objects (Cont) Use section 6.8 to learn more about Embedded and Linked Objects.

The END