SlideShare una empresa de Scribd logo
1 de 14
COMPREHENSIVE
Access Tutorial 2
Building a Database
and Defining Table
Relationships
Creating a Table in Design View
New Perspectives on Microsoft Office Access 2007 2
Defining a Field in Design View
• 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 Office Access 2007 3
Defining a Field in Design View
New Perspectives on Microsoft Office Access 2007 4
Specifying the Primary Key
in Design View
• In the Table window in Design view, click in the
row for the field you’ve chosen to be the primary
key.
• In the Tools group on the Table Tools Design tab,
click the Primary Key button
New Perspectives on Microsoft Office Access 2007 5
Moving a Field
• To move a field, you use the mouse to drag it to
a new location in the Table window in Design
view
New Perspectives on Microsoft Office Access 2007 6
Adding a Field
Between Two Existing Fields
• In the Table window in Design view, select the
row for the field above which you want to add a
new field
• In the Tools group on the Table Tools 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 Office Access 2007 7
Importing Data from an Excel
Worksheet
• The import process allows you to copy the data
from a source without having to open the source
file – such as an Excel Worksheet
• Click External Data on the Ribbon
• Click the Excel button in the Import group to
start the wizard
• You can also import another Access DB table or a
plain Text File.
New Perspectives on Microsoft Office Access 2007 8
Importing Data from an Excel
Worksheet
New Perspectives on Microsoft Office Access 2007 9
Defining Table Relationships
• A one-to-many relationship exists between two
tables when one record in the first table matches
one or many records in the second table.
– The Primary table is the “one” in a one-to-many
relationship
– The Related table is the “many” table
New Perspectives on Microsoft Office Access 2007 10
Defining Table Relationships
• 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 Show/Hide group on the Database Tools
tab, click the Relationships button
New Perspectives on Microsoft Office Access 2007 11
Defining Table Relationships
New Perspectives on Microsoft Office Access 2007 12
Defining Table Relationships
New Perspectives on Microsoft Office Access 2007 13
Example
Defining Table Relationships
New Perspectives on Microsoft Office Access 2007 14

Más contenido relacionado

Similar a a2-110.ppt

INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
mariuse18nolet
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPT
okmomwalking
 
Word 2007 unit h
Word 2007 unit hWord 2007 unit h
Word 2007 unit h
smgibbs
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
D
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
jigeno
 
Lesson Four Setting Up Tables And Fields
Lesson Four   Setting Up Tables And FieldsLesson Four   Setting Up Tables And Fields
Lesson Four Setting Up Tables And Fields
guevarra_2000
 
Microsoft excel training module
Microsoft excel training moduleMicrosoft excel training module
Microsoft excel training module
Jeff Piontek
 

Similar a a2-110.ppt (20)

basic database concepts
basic database conceptsbasic database concepts
basic database concepts
 
New Perspectives: Access.01
New Perspectives: Access.01New Perspectives: Access.01
New Perspectives: Access.01
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
 
Excel Basics
Excel BasicsExcel Basics
Excel Basics
 
Access 2010 Unit A PPT
Access 2010 Unit A PPTAccess 2010 Unit A PPT
Access 2010 Unit A PPT
 
MS ACCESS PPT.pptx
MS ACCESS PPT.pptxMS ACCESS PPT.pptx
MS ACCESS PPT.pptx
 
creating data
creating datacreating data
creating data
 
Access.01.ppt
Access.01.pptAccess.01.ppt
Access.01.ppt
 
New Perspectives: Access.03
New Perspectives: Access.03New Perspectives: Access.03
New Perspectives: Access.03
 
MS ACCESS PPT.pptx
MS ACCESS PPT.pptxMS ACCESS PPT.pptx
MS ACCESS PPT.pptx
 
Word 2007 unit h
Word 2007 unit hWord 2007 unit h
Word 2007 unit h
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
 
ms excel for mba first sem students of dr hs gour university sagar(m.p)
ms excel for mba first sem students of dr hs gour university sagar(m.p)ms excel for mba first sem students of dr hs gour university sagar(m.p)
ms excel for mba first sem students of dr hs gour university sagar(m.p)
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 
Acccesss notes
Acccesss notesAcccesss notes
Acccesss notes
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
 
Chapter 4 microsoft access 2010
Chapter 4 microsoft access 2010Chapter 4 microsoft access 2010
Chapter 4 microsoft access 2010
 
Lesson Four Setting Up Tables And Fields
Lesson Four   Setting Up Tables And FieldsLesson Four   Setting Up Tables And Fields
Lesson Four Setting Up Tables And Fields
 
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
 
Microsoft excel training module
Microsoft excel training moduleMicrosoft excel training module
Microsoft excel training module
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

a2-110.ppt

  • 1. COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships
  • 2. Creating a Table in Design View New Perspectives on Microsoft Office Access 2007 2
  • 3. Defining a Field in Design View • 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 Office Access 2007 3
  • 4. Defining a Field in Design View New Perspectives on Microsoft Office Access 2007 4
  • 5. Specifying the Primary Key in Design View • In the Table window in Design view, click in the row for the field you’ve chosen to be the primary key. • In the Tools group on the Table Tools Design tab, click the Primary Key button New Perspectives on Microsoft Office Access 2007 5
  • 6. Moving a Field • To move a field, you use the mouse to drag it to a new location in the Table window in Design view New Perspectives on Microsoft Office Access 2007 6
  • 7. Adding a Field Between Two Existing Fields • In the Table window in Design view, select the row for the field above which you want to add a new field • In the Tools group on the Table Tools 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 Office Access 2007 7
  • 8. Importing Data from an Excel Worksheet • The import process allows you to copy the data from a source without having to open the source file – such as an Excel Worksheet • Click External Data on the Ribbon • Click the Excel button in the Import group to start the wizard • You can also import another Access DB table or a plain Text File. New Perspectives on Microsoft Office Access 2007 8
  • 9. Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 9
  • 10. Defining Table Relationships • A one-to-many relationship exists between two tables when one record in the first table matches one or many records in the second table. – The Primary table is the “one” in a one-to-many relationship – The Related table is the “many” table New Perspectives on Microsoft Office Access 2007 10
  • 11. Defining Table Relationships • 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 Show/Hide group on the Database Tools tab, click the Relationships button New Perspectives on Microsoft Office Access 2007 11
  • 12. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 12
  • 13. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 13 Example
  • 14. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 14