Microsoft Access 2003 - Intro Class 2 Designing Databases and Tables.

Slides:



Advertisements
Similar presentations
Designing Tables in Microsoft Access By Ed Lance.
Advertisements

By Wanda Gibson, CI, MMI, SME. Microsoft Access Access is a database management system. This system lets you create and process data. A database is a.
Guidelines for Setting Field Properties Each field has a number of properties, such as its name and data type, that you can set when you define the field.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Benchmark Series Microsoft Access 2010 Level 1
Chapter 5 Multitable Forms
Access Lesson 2 Creating 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.
 Microsoft Access is one of two primary database offering from Microsoft.  Access is a network/desktop-based database.  Advantage: It is easy to use.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 1 Creating a Database.
1 AQA ICT AS Level © Nelson Thornes Types of data.
Tables. Any database must contain one or more tables, because that’s where the data is stored. For any table there are two views provided: Datasheet view.
Multi-Table Forms Access – Lesson 5.
Access Ch 5 Review.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
Microsoft Access Tables Birgül Kutlu Bayraktar. TERMS A database is a collection of related information. An object is a competition in the database such.
Microsoft Access 2000 Creating Tables and Relationships.
Access Lesson 2 Creating a Database
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
ACCESS. » Access is a database management system. » This system lets you create and process data. » A database is a collection of data that is organized.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Access 2000 Part 1 Introduction to Access Agenda Starting Access. Creating Tables. Working with Tables. Setting Field Properties.
Microsoft Access Intro Class 5 Working with Queries.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
Microsoft Access – Tutorial 2 Designing Databases In this tutorial, we will create a new database create a new table import tables from an existing database.
CHƯƠNG 3 Finding, Filtering, and Formatting Data.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 1-1 LINKS TO OBJECTIVES Design Tables and Fields Design Tables and Fields Data Types Field Size Property.
Key Applications Module Lesson 21 — Access Essentials
Presented By: Gail Rose-Innes Camps Bay High School ICT & CAT Department Microsoft Access 2010.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
IE 423 – Design of Decision Support Systems Database development – Building Tables
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Microsoft Access.  What is Data ?  Data vs. Information  Database History.  What is a Database?  Examples for Small and Large Databases.  Types.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
DBMS Using Access Note: If using software other that Access, consult manufacturer’s manual.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Relational Database Techniques
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Database design Using Access 2007
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.
C REATING & D ESIGNING A D ATABASE 1. C REATING A D ATABASE 2 There are two different ways to create a new Access database: 1. Start from scratch with.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Microsoft Access Prepared by the Academic Faculty Members of IT.
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
MICROSFTACCESS tables. DATA TYPES Field TypeWhat It Holds Short Text Text up to 255 characters long (including spaces and punctuation). Use a Text field,
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
Access Lesson 2 Creating a Database
Grauer and Barber Series Microsoft Access Chapter Two
Introduction to MS ACCESS
Chapter 2 Design Table and Form.
Lecture 2 Lecturer: awdang aziz MS access
Chapter 2 Design Table and Form.
Presentation transcript:

Microsoft Access Intro Class 2 Designing Databases and Tables

2 Naming Conventions Clearly defines the type and purpose of each object A consistent naming convention will Bring order to your database Aid in documentation Make it easier to understand the database (ie: choosing an object using the report wizard, reading a report generated by the Database Documenter) Common naming conventions (choose one and then be consistent) Hungarian Reddick ( Leszynski – Popular

3 Naming Conventions (cont’d) Access Requirements Object names up to 64 characters long Can include any combination of letters, numbers, spaces, and special characters, except a period (.), and exclamation point (!), and accent grave and brackets ([]) Cannot begin with a space Cannot include control characters (ASCII values 0 through 31) Table, view, or stored procedure names cannot include a double quotation mark (“) Table and Query names must be unique in the database. Naming any other objects with the same name is NOT recommended

4 Creating a Table in Design View In Database window, double-click the option to create a new table using Design View Type desired field names in appropriate column Choose data type for each field Type description for each field (optional) Mark primary key (right-click desired field) Set field properties, if desired Save table

5 Data Types Data TypeDescription TextIncludes any characters up to a maximum of 255 characters (determined by field size). If the data includes a mix of numbers and any amount of letters, choose Text. (The default data type is Text). MemoUse this data types when Text is not large enough. Like Text, this data type can also have letters and umbers, but can be much larger – up to a little over 64,000 characters. NumberIncludes various forms of numerical data that can be used in calculations. Date/TimeDate and time entries in formats showing date, time, or both. CurrencyUse for currency values with up to fours digits after the decimal place. This data type is more accurate for large numbers than the Number data type, but generally takes up more space. AutoNumberUsually this is used to create an identification number for each record. The value for each record increases by one. Yes/NoOnly two possible values can be in this field. Options include Yes/No, True/False, On/Off. The default style shows a check box with a checkmark on for Yes, or a blank for No. OLE ObjectThis data type allows you to place another file type into your record. Within the field you could insert a picture (a company logo, for example), a Word document (employee resume), or an Excel spreadsheet (client summary chart). HyperlinkThis allows you to insert a Web address such as which will launch when you click it in Datasheet view or on a form. You could also type a path and file name to a file on your hard drive (C:\docs\myres.doc) or a network drive. Lookup WizardCreates a lookup column, which creates a list of values from which to choose when entering data.

6 Field Properties Field Size Format New Value (new in Access 2000) Precision (new in Access 2000) Scale Decimal Place Input Mask Caption Default Value Required Allow Zero Length Indexed Unicode Compression (New in Access 2000 – stores characters in two bytes mainly to accommodate language fonts)

7 Field Properties Field Size for Text data types determines the maximum number of characters you can type. For Number data types, the Field Size property can be used to determine how large the number can be and if you can have decimal places. Number TypeDescription ByteStores numbers from 0 to 255 (no fractions). Long Integer(Default) Stores numbers from –2,147,483,648 to 2,147,483,647 (no fractions). IntegerStores numbers from –32,768 to 32,767 (no fractions). SingleStores numbers from – E38 to – E–45 for negative values and from E–45 to E38 for positive values. DoubleStores numbers from – E308 to – E–324 for negative values and from E308 to E–324 for positive values.

8 Field Properties (cont’d) FormatUsed especially for Date/Time data types – how you want the values displayed. You can also type codes in the Format property box. For example, type m/d/yyyy for a date type to display 1/1/2000. CaptionThis will appear at the top of the column in Datasheet view. Captions will automatically carry through to new forms and reports instead of the field name. Here, you can include spaces, and other punctuation marks not normally allowed in the field name. Default ValueThis will appear in new records entered in the table. Input MaskA template to validate how each character is entered into the field. Validation RuleAllows you to verify data as the user enters it into the table. Validation TextAppears in a dialog box when a Validation Rule is broken. RequiredThe user has to fill in this field before going to another record. Allow Zero Length You can use the AllowZeroLength property to specify whether a zero-length string (" ") is a valid entry in a table field. Note: The AllowZeroLength property applies only to Text, Memo, and Hyperlink table fields. IndexedMakes searches and sorts on this field go quicker.

9 Indexes Index A separate hidden table that consists of pointers to records or a group of records Automatically set on primary keys Makes sorting and searching more efficient Maximum of 32 per table Normally index any field you plan to sort on or search by frequently Can be added at any point in the development of the database to improve performance

10 Formatting Tables When in Doubt, Right-Click Insert/Delete Fields or Records Hide/Unhide, Freeze/Unfreeze Right-click the field name or the record selector and choose the desired option from the pop-up menu Change column width/row height Position mouse pointer on line between field names or rows and drag or double-click

11 Formatting Tables (cont’d) Move/Rearrange Fields Click once on field name, then drag field name until a black line is visible and drag to new position Formatting Fields Font and style changes made to a range of data will affect all data in the ENTIRE table Remember, tables are meant to store the RAW data – to make data pretty, put it in a report!

12 This work is licensed under a Creative Commons Attribution- ShareAlike 2.5 License.Creative Commons Attribution- ShareAlike 2.5 License