Creating tables for the list box When the same information can be used in several fields, design a table for each type of information. Each table will.

Slides:



Advertisements
Similar presentations
Access Manual 4 By Elham S.Khorasani Ismail Guneydas Dhawala Kovuri.
Advertisements

1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
AS ICT Building MS-Access Databases. Creating a Combo Box Drop Down List 1.When creating a Field requiring a Drop Down list in a Table, select the Lookup.
MS-Access XP Lesson 2. Input Mask Property 1.Field : Phone No Data Type : Number Input Mask : Character 0 represent a single digit and phone.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access Lesson 2 Creating a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
This presentation contains the following: -the availability and need menu options -the add option Mark Smith.
Access Tutorial 1 Creating a Database
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Affidavit for Enforcement Request FORM 20P
An INTRODUCTION to MICROSOFT ACESS 2000 By Dr. Ennis-Cole.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Chapter 6 Advanced Report Techniques
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Ensure that the Field Day Call Sign is correct.
Systems Module Slide 2 – Overview and Navigation
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
® Microsoft Office 2013 Access Creating a Database.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
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.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Creating an Application System Using Macros, Wizards, and the Switchboard.
Instructions.  Open up the letter that Adam has given to you  Format it so it look professional.
A Short Course on How to Manage SLOs with TracDat.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
1 CHƯƠNG 4 Creating Relational Databases Understanding Table Relationships Example: This database tracks customers and their orders in two separate.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Ennis-Cole, AC 2.01, CECS Maintaining A Database By: Dr. Ennis-Cole.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Open Office Writer Introduction AOSS _ Course material AOSS Master training workshop Singapore 2007.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Access Tutorial 2 Building a Database and Defining Table Relationships
Tutorial 1 Creating a Database
Getting Started with Base OpenOffice.org’s Database Component
Access Tutorial 1 Creating a Database
Access Creating a Database
Chapter 4 MS ACCESS DATABASE.
Access Creating a Database
Examples of Poor Primary Keys
Examples of Poor Primary Keys
Lesson Four: Building Custom Patient Lists
Access Tutorial 1 Creating a Database
Lesson Four: Building Custom Patient Lists
Adding a Class (Classes are the third level of your organization’s offerings hierarchy: Program > Category > Class > Session) 1.) Enrichment tab > Class.
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Adding a Care Class (Classes are the third level of your organization’s offerings hierarchy: Program > Category > Class > Session) 1.) Enrichment tab >
Presentation transcript:

Creating tables for the list box When the same information can be used in several fields, design a table for each type of information. Each table will contain two fields: the information field, and ID in this order. 1) Follow the directions in Creating tables in Design View on page 169. In the table we will create, the two fields can be Type and PaymentID. Make sure that the AutoValue is set to Yes for the PaymentID field. Set the PaymentID field as the primary key. (See Figure 133.) 2) Save the table using the name Payment Type. Note: Note: If you have several tables to create with the same fields, design one table and produce the other tables by cutting and pasting. (See Creating a table by copying an existing table on page 168.) Creating a database Adding data to the list table List tables do not require a form. Instead, add their data directly to the table. In this example, use the names of the two people with a bank card and cash for cash purchases. 1) In the main database window, click on the Tables icon (Figure 125). Right- click on Payment Type and select Open from the context menu. a) Enter Dan in the first row. Use the tab key to move to the second row. b) Enter Kevin in the second row. c) Enter Cash in the third row. 2) Save and close the table window. 1

will relate these two tables using the Date fields. Since the Fuel table may have more than one entry per date, this relationship between the Vacations and Fuel tables is one to many. (It is designated 1:n.) The Vacations tables also contains several fields for the type of payment used. For each field listing the payment type, there is only one entry from the Payment Type table. This is a one toone relationship: one field in one table to one entry from the other table. (It is designated 1:1.) Other tables also contain fields for the type of payment. The relationship between these fields of those tables and the Payment Type table are also 1:1. Since the Payment Type table only provides a static list, we will not be defining a relationship between the Payment Type table and the fields of the other tables which use the entries of the Payment Type table. That will be done when the forms are created. The Fuel and Maintenance tables do not really have a relationship even though they share similar fields: Date, and Odometer. Unless a person is in a habit of regularly getting fuel and having their vehicle serviced, the entries in these tables do not share anything in common. Tip As you create your own databases, you need to also determine where tables are related and how. We begin defining relationships by Tools > Relationships. The Automobile – OpenOffice.org Base: Relation design window opens (Figure 136). The icons we will use are Add Tables and New Relation. 1) Click the Add Tables icon. The Add Tables window opens. a) There are two ways to add a table to the Relation design window. 3

· Select Date from the Fuel table list. · Click in the cell to the right of this dropdown list. This opens a dropdown list for the Vacations table. · Select Date from the Vacations table list. It should now look like Figure 140. · Click OK. Creating a database 3) Modifying the Update options and Delete options section of the Relation window. a) Right-click the line connecting the Date fields in the two table lists to open a context menu. b) Select Edit to open the Relation window (Figure 141). c) Select Update cascade. d) Select Delete cascade. 5