MICROSFTACCESS tables. DATA TYPES Field TypeWhat It Holds Short Text Text up to 255 characters long (including spaces and punctuation). Use a Text field,

Slides:



Advertisements
Similar presentations
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.
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Validation Checks that the data entered is sensible.
Access Lesson 2 Creating a Database
© Steven Alter, 2007, all rights reserved Database concepts Difference between a database and the Internet Reason for having a defined data structure Relational.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Entering Data in Excel. Entering numbers, text, a date, or a time n 1Click the cell where you want to enter data. n 2Type the data and press ENTER or.
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.
Access Ch 5 Review.
Data Types and Field Properties 5.01 Understand database tables used in business.
Data type – determines the type of data and range of values that can be entered in a field.
Creating a table in Access. Table Design Considerations Just as you first create a blueprint to build a house, you should first sketch or outline the.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
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.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
BIS121 IT for Business Application Lecture 8 – Database (Part I)
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Access 2000 Part 1 Introduction to Access Agenda Starting Access. Creating Tables. Working with Tables. Setting Field Properties.
Microsoft Access Intro Class 2 Designing Databases and Tables.
Access Tutorial 2 Building a Database and Defining Table Relationships
 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 Management.
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.
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.
Microsoft Access 2013 Design and Create Tables to Store Data Chapter 2.
CH2 – Using Data. Constant Something which cannot be changed Data Type Format and size of a data item Intrinsic Data Types Pg. 47 – Table 2-1 Basic ones.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 1-1 LINKS TO OBJECTIVES Design Tables and Fields Design Tables and Fields Data Types Field Size Property.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Microsoft Office 2013 ®® Access Tutorial 2 Building a Database and Defining Table Relationships.
Presented By: Gail Rose-Innes Camps Bay High School ICT & CAT Department Microsoft Access 2010.
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.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
ACG 4401 Access 2007 Tables Part I Datasheet vs. Design View.
Introduction to Database using Microsoft Access 2013 Part 6.1 November 18, 2014.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Microsoft Access.  What is Data ?  Data vs. Information  Database History.  What is a Database?  Examples for Small and Large Databases.  Types.
Relational Database Techniques
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Database Management System Conducted By Provincial Computer Resource Centre Gurudeniya Jayaratna Alahakoon.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Mr C Johnston ICT Teacher
Database design Using Access 2007
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 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.
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
INTRODUCTION TO DATABASE USING MICROSOFT ACCESS 2013 Part 5.1 November 16, 2014.
Microsoft Access 2013 Design and Create Tables to Store Data
Databases part 2 – field properties
Access Lesson 2 Creating a Database
Data type for fields in Access
Data Types and Field Properties
Foreign key (FK) is defined as follows:
MS ACCESS.
ICT Database Lesson 2 Designing a Database.
More to Learn Different data types
Introduction to MS ACCESS
Lecture 2 Lecturer: awdang aziz MS access
Presentation transcript:

MICROSFTACCESS tables

DATA TYPES Field TypeWhat It Holds Short Text Text up to 255 characters long (including spaces and punctuation). Use a Text field, not a Number field, for codes even if they look like numbers, such as phone numbers, zip codes, and other postal codes. Long Text Text up to 65,536 characters. A Long Text field can contain Rich Text (formatted text), and you can set it to Append Only so that it can accumulate text notes without allowing the user to delete what’s already there. Number Only numbers. You may use + or – before the number, as well as a decimal point. If you plan to do math with a field, use a Number or Currency field. CurrencyNumbers with a currency sign in front of them ($, ¥, and so on). AutoNumber Numbers unique to each record and assigned by Access as you add records, starting at 1. Use an AutoNumber field as the primary key field for most tables.

DATA TYPES Field TypeWhat It Holds Date/TimeDates, times, or both. Hyperlink Text string formatted as a hyperlink. (If you click the link, it takes you to the page.) This field type is especially useful if related information is available on the web. Yes/No Yes or no (a particular condition is, or isn’t, in effect) — or other two-word sets, such as True/False, On/Off, and Male/Female. Use a Yes/No field if you want to display the field as a check box on forms. Attachment Stores one or more entire files — pictures, sound, Word documents, even video — in one Attachment field. Calculated Data created with a formula. Use a Calculated field when a calculated value will be used in many queries, forms, and reports.

FIELD SIZE (NUMBERS)  Byte — For integers that range from 0 to 255. Storage requirement is a single byte.  Integer — For integers that range from -32,768 to +32,767. Storage requirement is two bytes.  Long Integer — For integers that range from -2,147,483,648 to +2,147,483,647. Storage requirement is four bytes.  Tip Use the Long Integer data type when you create a foreign key to relate a field to another table's AutoNumber primary key field.  Single — For numeric floating point values that range from -3.4 x 1038 to +3.4 x 1038 and up to seven significant digits. Storage requirement is four bytes.  Double — For numeric floating point values that range from x to x and up to 15 significant digits. Storage requirement is eight bytes.  Replication ID — For storing a GUID that is required for replication. Storage requirement is 16 bytes.  Note Replication is not supported using an.accdb file format.  Decimal — For numeric values that range from x 1027 to x Storage requirement is 12 bytes.  Tip For best performance, always specify the smallest sufficient Field Size

INPUT MASK CharacterExplanation 0User must enter a digit (0 to 9). 9User can enter a digit (0 to 9). #User can enter a digit, space, plus or minus sign. If skipped, Access enters a blank space. LUser must enter a letter. ?User can enter a letter. AUser must enter a letter or a digit. aUser can enter a letter or a digit. &User must enter either a character or a space. CUser can enter characters or spaces.., : ; - / Decimal and thousands placeholders, date and time separators. The character you select depends on your Microsoft Windows regional settings. >Coverts all characters that follow to uppercase. <Converts all characters that follow to lowercase. !Causes the input mask to fill from left to right instead of from right to left. \Characters immediately following will be displayed literally. ""Characters enclosed in double quotation marks will be displayed literally

INPUT MASK EXAMPLES This input mask Provides this type of value Notes (000) (206) In this case, you must enter an area code because that section of the mask (000, enclosed in parentheses) uses the 0 placeholder. (999) ! (206) ( ) In this case, the area code section uses the 9 placeholder, so area codes are optional. Also, the exclamation point (!) causes the mask to fill in from left to right. (000) AAA-AAAA(206) 555-TELE Allows you to substitute the last four digits of a U.S. style phone number with letters. Note the use of the 0 placeholder in the area code section, which makes the area code mandatory. # Any positive or negative number, no more than four characters, and with no thousands separator or decimal places. >L????L?000L0 GREENGR339M3 MAY R 452B7 A combination of mandatory (L) and optional (?) letters and mandatory numbers (0). The greater-than sign forces users to enter all letters in uppercase. To use an input mask of this type, you must set the data type for the table field to Text or Memo A mandatory postal code and an optional plus-four section. >L<?????????????? Maria Pierre A first or last name with the first letter automatically capitalized. ISBN 0-&&&&&&&&&-0ISBN A book number with the literal text, mandatory first and last digits, and any combination of letters and characters between those digits. >LL DB A combination of mandatory letters and characters, all uppercase. Use this type of input mask, for example, to help users enter part numbers or other forms of inventory correctly.