SlideShare une entreprise Scribd logo
1  sur  36
Tutorial 2

Building a Database and Defining Table
             Relationships
Microsoft Access 2010
               ®
Objectives                                     XP


      • Learn the guidelines for designing databases
        and setting field properties
      • Modify the format of a field in Datasheet view
      • Create a table in Design view
      • Define fields and specify a table’s primary key
      • Modify the structure of a table




New Perspectives on Microsoft Access 2010                 2
Objectives                                      XP


      • Import data from an Excel worksheet
      • Create a table by importing an existing table
        structure
      • Add fields to a table with the Data Type gallery
      • Delete, rename, and move fields
      • Add data to a table by importing a text file
      • Define a relationship between two tables


New Perspectives on Microsoft Access 2010                  3
Table Window in Design View           XP




New Perspectives on Microsoft Access 2010        4
Guidelines for Designing Databases                XP

      • Identify all the fields needed to produce the
        required information
      • Organize each piece of data into its smallest
        useful part
      • Group related fields into tables
      • Determine each table’s primary key
      • Include a common field in related tables
      • Avoid data redundancy
      • Determine the properties of each field

New Perspectives on Microsoft Access 2010                    5
Guidelines for Setting Field          XP
      Properties
     • You must name each
       field, table, and other
       object
     • Choose an
       appropriate data type




New Perspectives on Microsoft Access 2010        6
Guidelines for Setting Field Properties
                                            XP

      • The Field Size property defines a field value’s
        maximum storage size for Text, Number, and
        AutoNumber fields only
         – Byte
         – Integer
         – Long Integer
         – Single
         – Double
         – Replication ID
         – Decimal
New Perspectives on Microsoft Access 2010                 7
Changing the Format of a Field        XP
      in Datasheet View




New Perspectives on Microsoft Access 2010        8
Creating a Table in Design View                 XP


      • Creating a table in Design view involves
        entering the field names and defining the
        properties for the fields, specifying the
        primary key, and saving the table structure




New Perspectives on Microsoft Access 2010                  9
Defining a Field in Design View                XP


      • In the Field Name box, type the name for the
        field, and then press the Tab key
      • Accept the default Text data type, or click the
        arrow and select a different data type for the
        field. Press the Tab key
      • Enter an optional description for the field, if
        necessary
      • Use the Field Properties pane to type or select
        other field properties, as appropriate

New Perspectives on Microsoft Access 2010                 10
Defining a Field in Design View       XP




New Perspectives on Microsoft Access 2010        11
Specifying the Primary Key                      XP
      in Design View
      • Display the table in Design view
      • Click in the row for the field you’ve chosen to
        be the primary key to make it the active field.
        If the primary key will consist of two or more
        fields, click the row selector for the first
        field, press and hold down the Ctrl key, and
        then click the row selector for each additional
        primary key field
      • In the Tools group on the Design tab, click the
        Primary Key button
New Perspectives on Microsoft Access 2010                  12
Specifying the Primary Key            XP
      in Design View




New Perspectives on Microsoft Access 2010        13
Moving a Field                                XP


      • To move a field, you use the mouse to drag it
        to a new location in the Table window in the
        Table Design grid




New Perspectives on Microsoft Access 2010                14
Adding a Field                                 XP
      Between Two Existing Fields
      • In the Table window in Design view, select the
        row below where you want the new field to be
        inserted
      • In the Tools group on the Design tab, click the
        Insert Rows button
      • Define the new field by entering the field
        name, data type, optional description, and any
        property specifications


New Perspectives on Microsoft Access 2010                 15
Adding a Field                        XP
      Between Two Existing Fields




New Perspectives on Microsoft Access 2010        16
Table Relationship                    XP




New Perspectives on Microsoft Access 2010        17
Importing Data from an Excel                 XP
      Worksheet
      • The import process allows you to copy the
        data from a source without having to open the
        source file
      • Click External Data on the Ribbon
      • Click the Excel button in the Import & Link
        group to start the wizard




New Perspectives on Microsoft Access 2010               18
Importing Data from an Excel          XP
      Worksheet




New Perspectives on Microsoft Access 2010        19
Importing Data from an Excel          XP
      Worksheet




New Perspectives on Microsoft Access 2010        20
Importing Data from an Excel          XP
      Worksheet




New Perspectives on Microsoft Access 2010        21
Creating a Table by Importing                        XP
      an Existing Table Structure
      • Make sure the External Data tab is the active tab on
        the Ribbon
      • In the Import & Link group, click the Access button
      • Click the Browse button
      • Navigate to the file
      • Make sure the Import tables, queries, forms,
        reports, macros, and modules into the current
        database option button is selected, and then click the
        OK button
      • Click the Options button

New Perspectives on Microsoft Access 2010                        22
Creating a Table by Importing         XP
      an Existing Table Structure




New Perspectives on Microsoft Access 2010        23
Adding Fields to a Table Using                  XP
      the Data Type Gallery
      • The Data Type gallery, available in the Add &
        Delete group on the Fields tab, allows you to
        add a group of related fields to a table at the
        same time, rather than adding each field to
        the table individually
      • The group of fields you add is called a Quick
        Start selection



New Perspectives on Microsoft Access 2010                  24
Adding Fields to a Table Using        XP
      the Data Type Gallery




New Perspectives on Microsoft Access 2010        25
Deleting a Field from a Table                   XP
      Structure
      • In Datasheet view, click the column heading
        for the field you want to delete
      • In the Add & Delete group on the Fields
        tab, click the Delete button
      or
      • In Design view, click the Field Name box for
        the field you want to delete
      • In the Tools group on the Design tab, click the
        Delete Rows button
New Perspectives on Microsoft Access 2010                  26
Deleting a Field from a Table         XP
      Structure




New Perspectives on Microsoft Access 2010        27
Adding Data to a Table                          XP
      by Importing a Text File
      • Click the External Data tab on the Ribbon
      • In the Import & Link group, click the Text File
        button
      • Click the Browse button
      • Navigate to the file
      • Click the Append a copy of the records to the
        table option button
      • Select the table
      • Click the OK button
New Perspectives on Microsoft Access 2010                  28
Adding Data to a Table                XP
      by Importing a Text File




New Perspectives on Microsoft Access 2010        29
Defining Table Relationships                   XP


      • One of the most powerful features of a
        relational database management system is its
        ability to define relationships between tables
      • You use a common field to relate one table to
        another




New Perspectives on Microsoft Access 2010                 30
Defining Table Relationships          XP




New Perspectives on Microsoft Access 2010        31
Defining Table Relationships                   XP


      • A one-to-many relationship exists between
        two tables when one record in the first table
        matches zero, one, or many records in the
        second table, and when one record in the
        second table matches at most one record in
        the first table
         – The Primary table is the “one” in a one-to-
           many relationship
         – The Related table is the “many” table

New Perspectives on Microsoft Access 2010                 32
Defining Table Relationships                XP


      • Referential integrity is a set of rules that
        Access enforces to maintain consistency
        between related tables when you update data
        in a database
      • The Relationships window illustrates the
        relationships among a database’s tables
      • Click the Database Tools tab on the Ribbon
      • In the Relationships group on the Database
        Tools tab, click the Relationships button

New Perspectives on Microsoft Access 2010              33
Defining Table Relationships          XP




New Perspectives on Microsoft Access 2010        34
Defining Table Relationships          XP




New Perspectives on Microsoft Access 2010        35
Defining Table Relationships          XP




New Perspectives on Microsoft Access 2010        36

Contenu connexe

Tendances

Defining Table Relationships
Defining Table RelationshipsDefining Table Relationships
Defining Table RelationshipsIIUI
 
Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Nitish Kumar
 
Tutorial 8: Developing an Excel Application
Tutorial 8: Developing an Excel ApplicationTutorial 8: Developing an Excel Application
Tutorial 8: Developing an Excel Applicationcios135
 
Access 2010 Unit B PPT
Access 2010 Unit B PPTAccess 2010 Unit B PPT
Access 2010 Unit B PPTokmomwalking
 
Excel 2010 Unit A PPT
Excel 2010 Unit A PPTExcel 2010 Unit A PPT
Excel 2010 Unit A PPTokmomwalking
 
Access 2010 Unit C PPT
Access 2010 Unit C PPTAccess 2010 Unit C PPT
Access 2010 Unit C PPTokmomwalking
 
Tutorial 6: Multiple Worksheets and Workbooks
Tutorial 6: Multiple Worksheets and WorkbooksTutorial 6: Multiple Worksheets and Workbooks
Tutorial 6: Multiple Worksheets and Workbookscios135
 
Word 2010 Unit D PPT
Word 2010 Unit D PPTWord 2010 Unit D PPT
Word 2010 Unit D PPTokmomwalking
 
Excel 2010 Unit C PPT
Excel 2010 Unit C PPTExcel 2010 Unit C PPT
Excel 2010 Unit C PPTokmomwalking
 
Office 2010 windows
Office 2010 windowsOffice 2010 windows
Office 2010 windowspatf719
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2cios135
 
Excel 2010 Unit D PPT
Excel 2010 Unit D PPTExcel 2010 Unit D PPT
Excel 2010 Unit D PPTokmomwalking
 
Lecture2 slides
Lecture2 slidesLecture2 slides
Lecture2 slidesCyri Jones
 
Ms Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopMs Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopCA Aditya Singhal
 

Tendances (20)

Defining Table Relationships
Defining Table RelationshipsDefining Table Relationships
Defining Table Relationships
 
MS Excel
MS ExcelMS Excel
MS Excel
 
Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010
 
Excel2007
Excel2007Excel2007
Excel2007
 
Tutorial 8: Developing an Excel Application
Tutorial 8: Developing an Excel ApplicationTutorial 8: Developing an Excel Application
Tutorial 8: Developing an Excel Application
 
Access 2010 Unit B PPT
Access 2010 Unit B PPTAccess 2010 Unit B PPT
Access 2010 Unit B PPT
 
Access Introduction
Access IntroductionAccess Introduction
Access Introduction
 
Excel 2010 Unit A PPT
Excel 2010 Unit A PPTExcel 2010 Unit A PPT
Excel 2010 Unit A PPT
 
Access 2010 Unit C PPT
Access 2010 Unit C PPTAccess 2010 Unit C PPT
Access 2010 Unit C PPT
 
Excel.t02
Excel.t02Excel.t02
Excel.t02
 
Tutorial 6: Multiple Worksheets and Workbooks
Tutorial 6: Multiple Worksheets and WorkbooksTutorial 6: Multiple Worksheets and Workbooks
Tutorial 6: Multiple Worksheets and Workbooks
 
Word 2010 Unit D PPT
Word 2010 Unit D PPTWord 2010 Unit D PPT
Word 2010 Unit D PPT
 
Excel 2010 Unit C PPT
Excel 2010 Unit C PPTExcel 2010 Unit C PPT
Excel 2010 Unit C PPT
 
Office 2010 windows
Office 2010 windowsOffice 2010 windows
Office 2010 windows
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
Excel 2007 Unit P
Excel 2007 Unit PExcel 2007 Unit P
Excel 2007 Unit P
 
Access.01
Access.01Access.01
Access.01
 
Excel 2010 Unit D PPT
Excel 2010 Unit D PPTExcel 2010 Unit D PPT
Excel 2010 Unit D PPT
 
Lecture2 slides
Lecture2 slidesLecture2 slides
Lecture2 slides
 
Ms Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopMs Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 Workshop
 

En vedette

Microsoft Access
Microsoft AccessMicrosoft Access
Microsoft AccessDanuuuuu
 
Access 2013 Unit C
Access 2013 Unit CAccess 2013 Unit C
Access 2013 Unit Cjarana00
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit Bjarana00
 
Computer Concepts Unit A 2013
Computer Concepts Unit A 2013Computer Concepts Unit A 2013
Computer Concepts Unit A 2013jarana00
 
Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Anna Stirling
 
Access 2016 module 4 ppt presentation
Access 2016 module 4 ppt presentationAccess 2016 module 4 ppt presentation
Access 2016 module 4 ppt presentationdgdotson
 
Discovering Computers: Chapter 10
Discovering Computers: Chapter 10Discovering Computers: Chapter 10
Discovering Computers: Chapter 10Anna Stirling
 
Access 2016 module 2 ppt presentation
Access 2016 module 2 ppt presentationAccess 2016 module 2 ppt presentation
Access 2016 module 2 ppt presentationdgdotson
 
Access 2016 module 3 ppt presentation
Access 2016 module 3 ppt presentationAccess 2016 module 3 ppt presentation
Access 2016 module 3 ppt presentationdgdotson
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit Djarana00
 
Access 2016 module 1 ppt presentation
Access 2016 module 1 ppt presentationAccess 2016 module 1 ppt presentation
Access 2016 module 1 ppt presentationdgdotson
 
Access 2013 Unit A
Access 2013 Unit AAccess 2013 Unit A
Access 2013 Unit Ajarana00
 
Discovering Computers: Chapter 06
Discovering Computers: Chapter 06Discovering Computers: Chapter 06
Discovering Computers: Chapter 06Anna Stirling
 
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...Ashish Saxena
 
Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Anna Stirling
 
Intro to Microsoft Access
Intro to Microsoft AccessIntro to Microsoft Access
Intro to Microsoft AccessDUSPviz
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access TutorialvirtualMaryam
 

En vedette (19)

Microsoft Access
Microsoft AccessMicrosoft Access
Microsoft Access
 
Access07 l1 ch2
Access07 l1 ch2Access07 l1 ch2
Access07 l1 ch2
 
Access 2013 Unit C
Access 2013 Unit CAccess 2013 Unit C
Access 2013 Unit C
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
 
Computer Concepts Unit A 2013
Computer Concepts Unit A 2013Computer Concepts Unit A 2013
Computer Concepts Unit A 2013
 
Discovering Computers: Chapter 11
Discovering Computers: Chapter 11Discovering Computers: Chapter 11
Discovering Computers: Chapter 11
 
Access 2016 module 4 ppt presentation
Access 2016 module 4 ppt presentationAccess 2016 module 4 ppt presentation
Access 2016 module 4 ppt presentation
 
Discovering Computers: Chapter 10
Discovering Computers: Chapter 10Discovering Computers: Chapter 10
Discovering Computers: Chapter 10
 
Access 2016 module 2 ppt presentation
Access 2016 module 2 ppt presentationAccess 2016 module 2 ppt presentation
Access 2016 module 2 ppt presentation
 
Access 2016 module 3 ppt presentation
Access 2016 module 3 ppt presentationAccess 2016 module 3 ppt presentation
Access 2016 module 3 ppt presentation
 
Access 2013 Unit D
Access 2013 Unit DAccess 2013 Unit D
Access 2013 Unit D
 
Access 2016 module 1 ppt presentation
Access 2016 module 1 ppt presentationAccess 2016 module 1 ppt presentation
Access 2016 module 1 ppt presentation
 
Access 2013
Access 2013 Access 2013
Access 2013
 
Access 2013 Unit A
Access 2013 Unit AAccess 2013 Unit A
Access 2013 Unit A
 
Discovering Computers: Chapter 06
Discovering Computers: Chapter 06Discovering Computers: Chapter 06
Discovering Computers: Chapter 06
 
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...
MS-ACCESS:CREATE TAB(QUERY-SELECT WITH CONDITIONS, MAKE A TABLE,DELETE,APPNED...
 
Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Discovering Computers: Chapter 09
Discovering Computers: Chapter 09
 
Intro to Microsoft Access
Intro to Microsoft AccessIntro to Microsoft Access
Intro to Microsoft Access
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 

Similaire à New Perspectives: Access.02

basic database concepts
basic database conceptsbasic database concepts
basic database conceptsIIUI
 
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptMS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptJoshCasas1
 
Tutorial 11: Connecting to External Data
Tutorial 11: Connecting to External DataTutorial 11: Connecting to External Data
Tutorial 11: Connecting to External Datacios135
 
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot ChartsTutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot Chartscios135
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPTokmomwalking
 
Tutorial 4 Charts and Graphs
Tutorial 4 Charts and GraphsTutorial 4 Charts and Graphs
Tutorial 4 Charts and Graphscios135
 
Excel2010 05-130206153751-phpapp01
Excel2010 05-130206153751-phpapp01Excel2010 05-130206153751-phpapp01
Excel2010 05-130206153751-phpapp01Vishal Kumar
 
Tutorial Excel
Tutorial ExcelTutorial Excel
Tutorial Excelsoleicita
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfJoshCasas1
 
creating data
creating datacreating data
creating datasabinji
 
01 access howtointroduction
01 access howtointroduction01 access howtointroduction
01 access howtointroductionRebecca Jones
 

Similaire à New Perspectives: Access.02 (20)

basic database concepts
basic database conceptsbasic database concepts
basic database concepts
 
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptMS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
 
a2-110.ppt
a2-110.ppta2-110.ppt
a2-110.ppt
 
Tutorial 11: Connecting to External Data
Tutorial 11: Connecting to External DataTutorial 11: Connecting to External Data
Tutorial 11: Connecting to External Data
 
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot ChartsTutorial 5: Excel Tables, PivotTables, and Pivot Charts
Tutorial 5: Excel Tables, PivotTables, and Pivot Charts
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPT
 
Tutorial 4 Charts and Graphs
Tutorial 4 Charts and GraphsTutorial 4 Charts and Graphs
Tutorial 4 Charts and Graphs
 
Excel2010 05-130206153751-phpapp01
Excel2010 05-130206153751-phpapp01Excel2010 05-130206153751-phpapp01
Excel2010 05-130206153751-phpapp01
 
Excel 2010 data tab
Excel 2010 data tabExcel 2010 data tab
Excel 2010 data tab
 
Tutorial Excel
Tutorial ExcelTutorial Excel
Tutorial Excel
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
 
Excel.t04
Excel.t04Excel.t04
Excel.t04
 
Excel.t01
Excel.t01Excel.t01
Excel.t01
 
Excel.t01
Excel.t01Excel.t01
Excel.t01
 
Chapter.03
Chapter.03Chapter.03
Chapter.03
 
creating data
creating datacreating data
creating data
 
Excel Basics
Excel BasicsExcel Basics
Excel Basics
 
Access.01.ppt
Access.01.pptAccess.01.ppt
Access.01.ppt
 
PPT Lesson 4
PPT Lesson 4PPT Lesson 4
PPT Lesson 4
 
01 access howtointroduction
01 access howtointroduction01 access howtointroduction
01 access howtointroduction
 

Plus de Anna Stirling

Technology Training in the California Community College System
Technology Training in the California Community College SystemTechnology Training in the California Community College System
Technology Training in the California Community College SystemAnna Stirling
 
Discovering Computers: Chapter 15
Discovering Computers: Chapter 15Discovering Computers: Chapter 15
Discovering Computers: Chapter 15Anna Stirling
 
Discovering Computers: Chapter 14
Discovering Computers: Chapter 14Discovering Computers: Chapter 14
Discovering Computers: Chapter 14Anna Stirling
 
Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Anna Stirling
 
Discovering Computers: Chapter 12
Discovering Computers: Chapter 12Discovering Computers: Chapter 12
Discovering Computers: Chapter 12Anna Stirling
 
Discovering Computers: Chapter 08
Discovering Computers: Chapter 08Discovering Computers: Chapter 08
Discovering Computers: Chapter 08Anna Stirling
 
Discovering Computers: Chapter 07
Discovering Computers: Chapter 07Discovering Computers: Chapter 07
Discovering Computers: Chapter 07Anna Stirling
 
Discovering Computers: Chapter 05
Discovering Computers: Chapter 05Discovering Computers: Chapter 05
Discovering Computers: Chapter 05Anna Stirling
 
Discovering Computers: Chapter 04
Discovering Computers: Chapter 04Discovering Computers: Chapter 04
Discovering Computers: Chapter 04Anna Stirling
 
Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Anna Stirling
 
Discovering Computers: Chapter 02
Discovering Computers: Chapter 02Discovering Computers: Chapter 02
Discovering Computers: Chapter 02Anna Stirling
 
Discovering Computers: Chapter 01
Discovering Computers: Chapter 01Discovering Computers: Chapter 01
Discovering Computers: Chapter 01Anna Stirling
 

Plus de Anna Stirling (12)

Technology Training in the California Community College System
Technology Training in the California Community College SystemTechnology Training in the California Community College System
Technology Training in the California Community College System
 
Discovering Computers: Chapter 15
Discovering Computers: Chapter 15Discovering Computers: Chapter 15
Discovering Computers: Chapter 15
 
Discovering Computers: Chapter 14
Discovering Computers: Chapter 14Discovering Computers: Chapter 14
Discovering Computers: Chapter 14
 
Discovering Computers: Chapter 13
Discovering Computers: Chapter 13Discovering Computers: Chapter 13
Discovering Computers: Chapter 13
 
Discovering Computers: Chapter 12
Discovering Computers: Chapter 12Discovering Computers: Chapter 12
Discovering Computers: Chapter 12
 
Discovering Computers: Chapter 08
Discovering Computers: Chapter 08Discovering Computers: Chapter 08
Discovering Computers: Chapter 08
 
Discovering Computers: Chapter 07
Discovering Computers: Chapter 07Discovering Computers: Chapter 07
Discovering Computers: Chapter 07
 
Discovering Computers: Chapter 05
Discovering Computers: Chapter 05Discovering Computers: Chapter 05
Discovering Computers: Chapter 05
 
Discovering Computers: Chapter 04
Discovering Computers: Chapter 04Discovering Computers: Chapter 04
Discovering Computers: Chapter 04
 
Discovering Computers: Chapter 03
Discovering Computers: Chapter 03Discovering Computers: Chapter 03
Discovering Computers: Chapter 03
 
Discovering Computers: Chapter 02
Discovering Computers: Chapter 02Discovering Computers: Chapter 02
Discovering Computers: Chapter 02
 
Discovering Computers: Chapter 01
Discovering Computers: Chapter 01Discovering Computers: Chapter 01
Discovering Computers: Chapter 01
 

Dernier

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 

Dernier (20)

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 

New Perspectives: Access.02

  • 1. Tutorial 2 Building a Database and Defining Table Relationships Microsoft Access 2010 ®
  • 2. Objectives XP • Learn the guidelines for designing databases and setting field properties • Modify the format of a field in Datasheet view • Create a table in Design view • Define fields and specify a table’s primary key • Modify the structure of a table New Perspectives on Microsoft Access 2010 2
  • 3. Objectives XP • Import data from an Excel worksheet • Create a table by importing an existing table structure • Add fields to a table with the Data Type gallery • Delete, rename, and move fields • Add data to a table by importing a text file • Define a relationship between two tables New Perspectives on Microsoft Access 2010 3
  • 4. Table Window in Design View XP New Perspectives on Microsoft Access 2010 4
  • 5. Guidelines for Designing Databases XP • Identify all the fields needed to produce the required information • Organize each piece of data into its smallest useful part • Group related fields into tables • Determine each table’s primary key • Include a common field in related tables • Avoid data redundancy • Determine the properties of each field New Perspectives on Microsoft Access 2010 5
  • 6. Guidelines for Setting Field XP Properties • You must name each field, table, and other object • Choose an appropriate data type New Perspectives on Microsoft Access 2010 6
  • 7. Guidelines for Setting Field Properties XP • The Field Size property defines a field value’s maximum storage size for Text, Number, and AutoNumber fields only – Byte – Integer – Long Integer – Single – Double – Replication ID – Decimal New Perspectives on Microsoft Access 2010 7
  • 8. Changing the Format of a Field XP in Datasheet View New Perspectives on Microsoft Access 2010 8
  • 9. Creating a Table in Design View XP • Creating a table in Design view involves entering the field names and defining the properties for the fields, specifying the primary key, and saving the table structure New Perspectives on Microsoft Access 2010 9
  • 10. Defining a Field in Design View XP • In the Field Name box, type the name for the field, and then press the Tab key • Accept the default Text data type, or click the arrow and select a different data type for the field. Press the Tab key • Enter an optional description for the field, if necessary • Use the Field Properties pane to type or select other field properties, as appropriate New Perspectives on Microsoft Access 2010 10
  • 11. Defining a Field in Design View XP New Perspectives on Microsoft Access 2010 11
  • 12. Specifying the Primary Key XP in Design View • Display the table in Design view • Click in the row for the field you’ve chosen to be the primary key to make it the active field. If the primary key will consist of two or more fields, click the row selector for the first field, press and hold down the Ctrl key, and then click the row selector for each additional primary key field • In the Tools group on the Design tab, click the Primary Key button New Perspectives on Microsoft Access 2010 12
  • 13. Specifying the Primary Key XP in Design View New Perspectives on Microsoft Access 2010 13
  • 14. Moving a Field XP • To move a field, you use the mouse to drag it to a new location in the Table window in the Table Design grid New Perspectives on Microsoft Access 2010 14
  • 15. Adding a Field XP Between Two Existing Fields • In the Table window in Design view, select the row below where you want the new field to be inserted • In the Tools group on the Design tab, click the Insert Rows button • Define the new field by entering the field name, data type, optional description, and any property specifications New Perspectives on Microsoft Access 2010 15
  • 16. Adding a Field XP Between Two Existing Fields New Perspectives on Microsoft Access 2010 16
  • 17. Table Relationship XP New Perspectives on Microsoft Access 2010 17
  • 18. Importing Data from an Excel XP Worksheet • The import process allows you to copy the data from a source without having to open the source file • Click External Data on the Ribbon • Click the Excel button in the Import & Link group to start the wizard New Perspectives on Microsoft Access 2010 18
  • 19. Importing Data from an Excel XP Worksheet New Perspectives on Microsoft Access 2010 19
  • 20. Importing Data from an Excel XP Worksheet New Perspectives on Microsoft Access 2010 20
  • 21. Importing Data from an Excel XP Worksheet New Perspectives on Microsoft Access 2010 21
  • 22. Creating a Table by Importing XP an Existing Table Structure • Make sure the External Data tab is the active tab on the Ribbon • In the Import & Link group, click the Access button • Click the Browse button • Navigate to the file • Make sure the Import tables, queries, forms, reports, macros, and modules into the current database option button is selected, and then click the OK button • Click the Options button New Perspectives on Microsoft Access 2010 22
  • 23. Creating a Table by Importing XP an Existing Table Structure New Perspectives on Microsoft Access 2010 23
  • 24. Adding Fields to a Table Using XP the Data Type Gallery • The Data Type gallery, available in the Add & Delete group on the Fields tab, allows you to add a group of related fields to a table at the same time, rather than adding each field to the table individually • The group of fields you add is called a Quick Start selection New Perspectives on Microsoft Access 2010 24
  • 25. Adding Fields to a Table Using XP the Data Type Gallery New Perspectives on Microsoft Access 2010 25
  • 26. Deleting a Field from a Table XP Structure • In Datasheet view, click the column heading for the field you want to delete • In the Add & Delete group on the Fields tab, click the Delete button or • In Design view, click the Field Name box for the field you want to delete • In the Tools group on the Design tab, click the Delete Rows button New Perspectives on Microsoft Access 2010 26
  • 27. Deleting a Field from a Table XP Structure New Perspectives on Microsoft Access 2010 27
  • 28. Adding Data to a Table XP by Importing a Text File • Click the External Data tab on the Ribbon • In the Import & Link group, click the Text File button • Click the Browse button • Navigate to the file • Click the Append a copy of the records to the table option button • Select the table • Click the OK button New Perspectives on Microsoft Access 2010 28
  • 29. Adding Data to a Table XP by Importing a Text File New Perspectives on Microsoft Access 2010 29
  • 30. Defining Table Relationships XP • One of the most powerful features of a relational database management system is its ability to define relationships between tables • You use a common field to relate one table to another New Perspectives on Microsoft Access 2010 30
  • 31. Defining Table Relationships XP New Perspectives on Microsoft Access 2010 31
  • 32. Defining Table Relationships XP • A one-to-many relationship exists between two tables when one record in the first table matches zero, one, or many records in the second table, and when one record in the second table matches at most one record in the first table – The Primary table is the “one” in a one-to- many relationship – The Related table is the “many” table New Perspectives on Microsoft Access 2010 32
  • 33. Defining Table Relationships XP • Referential integrity is a set of rules that Access enforces to maintain consistency between related tables when you update data in a database • The Relationships window illustrates the relationships among a database’s tables • Click the Database Tools tab on the Ribbon • In the Relationships group on the Database Tools tab, click the Relationships button New Perspectives on Microsoft Access 2010 33
  • 34. Defining Table Relationships XP New Perspectives on Microsoft Access 2010 34
  • 35. Defining Table Relationships XP New Perspectives on Microsoft Access 2010 35
  • 36. Defining Table Relationships XP New Perspectives on Microsoft Access 2010 36