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.

Slides:



Advertisements
Similar presentations
Creating Tables Unit 9 - Databases.
Advertisements

Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
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.
Database Ed Milne. Theme An introduction to databases Using the Base component of LibreOffice LibreOffice.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
CSci 1130 Intro to Programming in Java
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Data Types and Field Properties 5.01 Understand database tables used in business.
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.
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.
Database terms Mr. Brunton.
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
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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
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.
Created by: Tanya Morgan.  Access is the database software of the Microsoft Office suite.  A database is a collection of objects that work together.
 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.
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.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
Microsoft Office 2013 ®® Access Tutorial 2 Building a Database and Defining Table Relationships.
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.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
IE 423 – Design of Decision Support Systems Database development – Building Tables
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
IBS 520 Introduction to Internet Technology Database Fundamentals Week 4.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Data Types and Field Properties continued… Understand database tables used in business.
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
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
(Winter 2016) Instructor: Craig Duckett Lecture 13: Thursday, February 18 th Mere Mortals: Chap. 9 Summary, Team Work 1.
Database design Using Access 2007
Ennis-Cole, AC 2.01, CECS Maintaining A Database By: Dr. Ennis-Cole.
Microsoft Access Prepared by the Academic Faculty Members of IT.
 A collection of data organized in a way that allows:  Easy access  Easy retrieval of specific data  Easy use of the data.
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.
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.
MICROSFTACCESS tables. DATA TYPES Field TypeWhat It Holds Short Text Text up to 255 characters long (including spaces and punctuation). Use a Text field,
New Perspectives on Microsoft Access 2016
Databases Chapter 9 Asfia Rahman.
Guidelines for Designing Databases
Building Tables & Defining Relationships
Microsoft Access 2007 – Level 1
and Defining Table Relationships
Unit 16 – Database Systems
Data Types and Field Properties
MODULE 7 Microsoft Access 2010
Access Lesson 2 Creating a Database
Data type for fields in Access
Data Types and Field Properties
Data Types and Field Properties
Nagendra Vemulapalli Exam2 Overview Nagendra Vemulapalli
ICT Database Lesson 2 Designing a Database.
Data Types and Field Properties
Data Types and Field Properties
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:

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. Access has rules for naming fields, choosing data types, and defining other field properties. Well now look at guidelines for the following: Naming fields and objects Assigning field data types Assigning field sizes

Naming Fields and Objects You must name each field, table, and other object in an Access database. Its best to choose a name that describes the purpose or contents of the field or object, so that later you can easily remember what the name represents. For example, the two tables in our current database are named Client and Contract, because these names suggest their contents.

Naming Fields and ObjectsRules The following rules apply to naming fields and objects: A name can be up to 64 characters long. A name can contain letters, numbers, spaces, and special characters, except for a period (.), exclamation point (!), accent grave (`), and square brackets ([ ]). A name cannot start with a space. A table or query name must be unique within a database. A field name must be unique within a table, but it can be used again in another table.

Naming Fields and ObjectsTips In addition, experienced users of databases follow these tips for naming fields and objects: Capitalize the first letter of each word in the name. Avoid extremely long names because they are difficult to remember and reference. Use standard abbreviations, such as Amt for Amount and Qty for Quantity. Do not use spaces in field names because these names appear in column headings on datasheets and on labels on forms and reports. By not using spaces youll be able to show more fields at a time.

Assigning Field Data Types You must assign a data type for each field. The data type determines what field values you can enter for the field and what other properties the field will have. Access has these ten data types: AutoNumber, currency, date/time, hyperlink, lookup wizard, memo, number, OLE object, text, and yes/no. Descriptions of the most commonly used data types appear on the next page.

Most Commonly Used Field Data Types Data TypeDescriptionField Size TextAllows field values containing letters, digits, spaces, and special characters. Use for names, addresses, descriptions, and fields containing digits that are not used in calculations. 0 to 255 characters; 50 characters default NumberAllows positive and negative numbers as field values. Use for fields that you will use in calculations, except calculations involving money. 1 to 15 digits Date/TimeAllows field values containing dates and times from January 1, 100 to December 31, bytes CurrencyAllows field values similar to those for the number data type. Unlike calculations with the number data type, calculations performed using the currency data type are not subject to round-off error. Accurate to 15 digits on the left side of the decimal point and to 4 digits on the right side

Assigning Field Sizes The field size property defines a field values maximum storage size for text, number, and AutoNumber fields only. The other data types have no field size property because their storage size is either a fixed, predetermined amount or is determined automatically by the field value itself. A text field has a default field size of 50 characters; you can also set its field size by entering a number in the range 1 to 255. When you use the number data type, you should set the fields field size property based on the largest value you expect to store in that field. Access processes smaller data sizes faster using less memory, so you can optimize your databases performance and its storage space by selecting the correct field size for each field.

Assigning Field SizesNumbers Field size property settings for number fields are: Byte: Stores whole numbers from 0 to 255 in one byte. Integer: Stores whole numbers from –32,768 to 32,767 in two bytes Long Integer (default): Stores whole numbers from –2,147,483,648 to 2,147,483,647 in four bytes Single: Stores positive and negative numbers to precisely seven decimal places and uses four bytes Double: Stores positive and negative numbers to precisely 15 decimal places and uses eight bytes Replication ID: Establishes a unique identifier for replication of tables, records, and other objects and uses 16 bytes Decimal: Stores positive and negative numbers to precisely 28 decimal places and uses 12 bytes