SlideShare a Scribd company logo
1 of 22
1




Access Lesson 2
Creating a Database
Microsoft Office 2007:   Pasewark &

Introductory             Pasewark
2

                                                  Microsoft Office 2007:   Pasewark &
                                                            Introductory   Pasewark




                    Objectives
                    • Create a database.
                    • Design, create, and save a table in Datasheet
                      view.
                    • Set a field’s data type in Datasheet view.
Access – Lesson 2




                    • Add, delete, rename, and move fields in Design
                      view.
                    • Set field properties in Design view.
3

                                                   Microsoft Office 2007:   Pasewark &
                                                             Introductory   Pasewark




                    Vocabulary
                     •   Alphanumeric data
                     •   AutoNumber
                     •   Blank Database template
Access – Lesson 2




                     •   Data type
                     •   Default Value property
4

                                            Microsoft Office 2007:   Pasewark &
                                                      Introductory   Pasewark




                    Vocabulary (continued)
                    • Description        • Field Size property
                      property           • Format property
                    • Design grid        • Primary key
Access – Lesson 2




                    • Design view        • Required property
                    • Field Properties   • Template
                      pane
                    • Field property
5

                                                    Microsoft Office 2007:   Pasewark &
                                                              Introductory   Pasewark




                    Creating a Database
                    • The first step in creating
                      a database is to create
                      the file that will hold the
                      database objects.
Access – Lesson 2




                    • You can use a template
                      that already has objects
                      in it.
                    • You can also use a
                      Blank Database
                      template with no
                      objects in it.
6

                                                   Microsoft Office 2007:   Pasewark &
                                                             Introductory   Pasewark




                    Creating a Database (continued)

                     • To create a database, start
                       Access.
                     • On the Getting Started with
                       Microsoft Access page, double-
Access – Lesson 2




                       click the template you want to
                       use.
                     • Specify a file name and storage
                       location.
                     • Click Create to create the new
                       database and open it in Access.
7

                                                       Microsoft Office 2007:   Pasewark &
                                                                 Introductory   Pasewark




                    Creating and Saving a Table
                    In Datasheet View
                    • When you create a blank database, Access creates the
                      first table and names it Table1.
                    • You can change the name when you save it.
                    • To save, click the Save button on the Quick Access
Access – Lesson 2




                      Toolbar. Fill in the name in the Save As dialog box.
                    • The new table name appears on the tab for the table and
                      as an object in the Navigation Pane.
8

                                                         Microsoft Office 2007:   Pasewark &
                                                                   Introductory   Pasewark




                    Designing a Table in Datasheet
                    • After creating a table, you need to tell Access what fields
                      to include.
                    • Access creates one field named ID and sets it as the
                      primary key.
Access – Lesson 2




                    • A primary key is the field that contains a unique field
                      value for each record.
                    • In some tables, this field is called AutoNumber because
                      it automatically adds a unique number.
9

                    Microsoft Office 2007:   Pasewark &
                              Introductory   Pasewark
Access – Lesson 2
10

                                                        Microsoft Office 2007:   Pasewark &
                                                                  Introductory   Pasewark




                    Designing a Table (continued)
                    • You can tell that Access created an AutoNumber for the
                      ID field because of the word New in the first record’s
                      field.
                    • Good candidates for being a primary key are
Access – Lesson 2




                      ▫ Employee numbers
                      ▫ Social security numbers
                      ▫ Student ID numbers
                    • The advantage of setting a primary key is that Access will
                      not let you enter duplicate values for this field in
                      different records.
11

                    Microsoft Office 2007:   Pasewark &
                              Introductory   Pasewark
Access – Lesson 2
12

                                                        Microsoft Office 2007:   Pasewark &
                                                                  Introductory   Pasewark




                    Designing a Table (continued)
                    • To enter a field name in Datasheet view, double-click the
                      “Add New Field” field selector.
                    • After you have created all the fields, you can enter the
                      first record.
Access – Lesson 2




                    • Access assigns a data type as you enter data (Text,
                      Memo, Number, etc.).
                    • You can change the data type for a field by clicking the
                      Data Type arrow in the Data Type & Formatting group
                      on the Table Tools Datasheet tab.
13

                                                    Microsoft Office 2007:   Pasewark &
                                                              Introductory   Pasewark




                    Working in Design View
                      • In Design view you can add, delete, and
                        make changes to how fields store data.
                      • The field names and data types appear
Access – Lesson 2




                        in the upper half in a design grid.
                      • The Field Properties pane appears
                        below.
                      • A selected field turns orange. The
                        primary key has a key symbol in it.
14

                                                Microsoft Office 2007:   Pasewark &
                                                          Introductory   Pasewark


                        Table in Design View ( Behind the Scene)




                    Unique ID
                    Like SS#
Access – Lesson 2
15

                                                              Microsoft Office 2007:   Pasewark &
                                                                        Introductory   Pasewark




                    Working in Design View (continued)
                      • You can use the options in the Tool group on the
                        Table Tools Design tab to:
                        ▫ Add and delete fields, insert a field
                        ▫ Drag fields in the design grid to a new location
                        ▫ Rename a field, and change a field’s data type
Access – Lesson 2




                      • The Description property in the design grid is
                        optional, and you can use it to describe what to enter
                        in the field.

                      • Any changes made in Design view are automatically
                        updated in Datasheet view when you save the table.
16

                                                           Microsoft Office 2007:   Pasewark &
                                                                     Introductory   Pasewark




                    Changing Field Properties in Design View
                      • A field property describes the field’s contents beyond
                        the field’s basic data type, such as:
                        ▫ Indicating number of characters allowed
                        ▫ Indicating allowable values
                      • Field properties will vary depending on the field’s
Access – Lesson 2




                        data type.
                      • The Field Size property sets the number of
                        characters you can store in a Text, Number or
                        AutoNumber field.
                      • There is an array of Field Size property options
                        including the ability to store decimals, positive
                        numbers, negative numbers, or whole numbers.
17

                    Microsoft Office 2007:   Pasewark &
                              Introductory   Pasewark
Access – Lesson 2
18

                    Microsoft Office 2007:   Pasewark &
                              Introductory   Pasewark
Access – Lesson 2
19

                                                        Microsoft Office 2007:   Pasewark &
                                                                  Introductory   Pasewark




                    Changing Field Properties in Design View
                    (continued)
                      • Use the Format property to specify how you want
                        Access to display numbers, dates, times and text.
                      • For example, if you enter the date 10-28-10, Access
                        will display it as October 28, 2010, if the Format
Access – Lesson 2




                        property is set that way.
                      • The Default Value property enters the same field
                        value in a field every time a new record is added to a
                        table.
                      • The Required property specifies whether you must
                        enter a field value in a record.
20

                                                        Microsoft Office 2007:   Pasewark &
                                                                  Introductory   Pasewark




                    Summary
                     • Creating a database creates a file that will store
                       database objects. You can create a database using a
                       template or a Blank Database template.
                     • You can create a table in Datasheet view by entering
Access – Lesson 2




                       the field names, and then entering the first record.
                     • Access assigns the data type as you enter data.
                       Access also creates an ID field to serve as the table’s
                       primary key. The primary key is the field that
                       contains unique field values for every record in a
                       table.
21

                                                  Microsoft Office 2007:   Pasewark &
                                                            Introductory   Pasewark




                    Summary (continued)
                    • To save a table, click the Save button on the
                      Quick Access Toolbar.
                    • A field’s data type determines the type of data
                      that can be entered, including text, numbers, or
Access – Lesson 2




                      a combination of both.
                    • The data types for Access are Text, Memo,
                      Number, Date/Time, Currency, AutoNumber,
                      Yes/No, OLE Object, Hyperlink, Attachment and
                      Lookup Wizard.
22

                                                               Microsoft Office 2007:   Pasewark &
                                                                         Introductory   Pasewark




                    Summary (continued)
                    • In Design view you can add, delete and rename fields.
                    • A field property describes a field beyond the data type.
                      The properties you can set depend on the data type.
                      Additional properties include:
Access – Lesson 2




                      ▫   Description property describes the field
                      ▫   Field Size property sets # of characters/numbers
                      ▫   Format property sets formatting (i.e. date format)
                      ▫   Required property is used when a field must contain data

More Related Content

Similar to Access lesson 2

Defining Table Relationships
Defining Table RelationshipsDefining Table Relationships
Defining Table RelationshipsIIUI
 
05 2007 excel 2007
05 2007 excel  200705 2007 excel  2007
05 2007 excel 2007Anshnish1331
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence PortfolioYubaraj Khanal
 
New Perspectives: Access.01
New Perspectives: Access.01New Perspectives: Access.01
New Perspectives: Access.01Anna Stirling
 
Documenting sacs compliance with microsoft excel
Documenting sacs compliance with microsoft excelDocumenting sacs compliance with microsoft excel
Documenting sacs compliance with microsoft excelSandra Nicks
 
basic database concepts
basic database conceptsbasic database concepts
basic database conceptsIIUI
 
Ms Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopMs Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopCA Aditya Singhal
 
Product Update: Customization with Rosette
Product Update: Customization with RosetteProduct Update: Customization with Rosette
Product Update: Customization with RosetteBasis Technology
 
For The Project Of Examination System
For The Project Of Examination SystemFor The Project Of Examination System
For The Project Of Examination SystemUsama Ahmed Peerzada
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxVinaOconner450
 
Document Imaging in Finance
Document Imaging in FinanceDocument Imaging in Finance
Document Imaging in FinanceVerbella CMG
 
Skill Development 2.pptx
Skill Development 2.pptxSkill Development 2.pptx
Skill Development 2.pptxSohailRanjha1
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databasestechbed
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxLab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxDIPESH30
 
Class viii ch-2 log on to access
Class  viii ch-2 log on to accessClass  viii ch-2 log on to access
Class viii ch-2 log on to accessjessandy
 
Tech days 2011 - database design patterns for keeping your database applicati...
Tech days 2011 - database design patterns for keeping your database applicati...Tech days 2011 - database design patterns for keeping your database applicati...
Tech days 2011 - database design patterns for keeping your database applicati...Charley Hanania
 

Similar to Access lesson 2 (20)

Defining Table Relationships
Defining Table RelationshipsDefining Table Relationships
Defining Table Relationships
 
05 2007 excel 2007
05 2007 excel  200705 2007 excel  2007
05 2007 excel 2007
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
New Perspectives: Access.01
New Perspectives: Access.01New Perspectives: Access.01
New Perspectives: Access.01
 
Access.01
Access.01Access.01
Access.01
 
Documenting sacs compliance with microsoft excel
Documenting sacs compliance with microsoft excelDocumenting sacs compliance with microsoft excel
Documenting sacs compliance with microsoft excel
 
basic database concepts
basic database conceptsbasic database concepts
basic database concepts
 
Ms Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 WorkshopMs Excel 2007 & 2010 Workshop
Ms Excel 2007 & 2010 Workshop
 
Product Update: Customization with Rosette
Product Update: Customization with RosetteProduct Update: Customization with Rosette
Product Update: Customization with Rosette
 
For The Project Of Examination System
For The Project Of Examination SystemFor The Project Of Examination System
For The Project Of Examination System
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docxLab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.).docx
 
Document Imaging in Finance
Document Imaging in FinanceDocument Imaging in Finance
Document Imaging in Finance
 
Access Introduction
Access IntroductionAccess Introduction
Access Introduction
 
Skill Development 2.pptx
Skill Development 2.pptxSkill Development 2.pptx
Skill Development 2.pptx
 
VSTO
VSTOVSTO
VSTO
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databases
 
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docxLab 2 Work with Dictionary and Create Relational Database (60 pts.docx
Lab 2 Work with Dictionary and Create Relational Database (60 pts.docx
 
Class viii ch-2 log on to access
Class  viii ch-2 log on to accessClass  viii ch-2 log on to access
Class viii ch-2 log on to access
 
Tech days 2011 - database design patterns for keeping your database applicati...
Tech days 2011 - database design patterns for keeping your database applicati...Tech days 2011 - database design patterns for keeping your database applicati...
Tech days 2011 - database design patterns for keeping your database applicati...
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 

More from Bishop Amat High School (7)

Malware
MalwareMalware
Malware
 
Newsletter project instruction
Newsletter project instructionNewsletter project instruction
Newsletter project instruction
 
Beginning office wei's back to school
Beginning office wei's back to schoolBeginning office wei's back to school
Beginning office wei's back to school
 
Beginning officer wei's back to school
Beginning officer wei's back to schoolBeginning officer wei's back to school
Beginning officer wei's back to school
 
Back to school web design into
Back to school   web design intoBack to school   web design into
Back to school web design into
 
Excel lesson 5
Excel lesson 5Excel lesson 5
Excel lesson 5
 
Lesson 4 excel formula
Lesson 4  excel formulaLesson 4  excel formula
Lesson 4 excel formula
 

Recently uploaded

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
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 FellowsMebane Rash
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
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.pptxDenish Jangid
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 

Recently uploaded (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
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
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 

Access lesson 2

  • 1. 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Pasewark & Introductory Pasewark
  • 2. 2 Microsoft Office 2007: Pasewark & Introductory Pasewark Objectives • Create a database. • Design, create, and save a table in Datasheet view. • Set a field’s data type in Datasheet view. Access – Lesson 2 • Add, delete, rename, and move fields in Design view. • Set field properties in Design view.
  • 3. 3 Microsoft Office 2007: Pasewark & Introductory Pasewark Vocabulary • Alphanumeric data • AutoNumber • Blank Database template Access – Lesson 2 • Data type • Default Value property
  • 4. 4 Microsoft Office 2007: Pasewark & Introductory Pasewark Vocabulary (continued) • Description • Field Size property property • Format property • Design grid • Primary key Access – Lesson 2 • Design view • Required property • Field Properties • Template pane • Field property
  • 5. 5 Microsoft Office 2007: Pasewark & Introductory Pasewark Creating a Database • The first step in creating a database is to create the file that will hold the database objects. Access – Lesson 2 • You can use a template that already has objects in it. • You can also use a Blank Database template with no objects in it.
  • 6. 6 Microsoft Office 2007: Pasewark & Introductory Pasewark Creating a Database (continued) • To create a database, start Access. • On the Getting Started with Microsoft Access page, double- Access – Lesson 2 click the template you want to use. • Specify a file name and storage location. • Click Create to create the new database and open it in Access.
  • 7. 7 Microsoft Office 2007: Pasewark & Introductory Pasewark Creating and Saving a Table In Datasheet View • When you create a blank database, Access creates the first table and names it Table1. • You can change the name when you save it. • To save, click the Save button on the Quick Access Access – Lesson 2 Toolbar. Fill in the name in the Save As dialog box. • The new table name appears on the tab for the table and as an object in the Navigation Pane.
  • 8. 8 Microsoft Office 2007: Pasewark & Introductory Pasewark Designing a Table in Datasheet • After creating a table, you need to tell Access what fields to include. • Access creates one field named ID and sets it as the primary key. Access – Lesson 2 • A primary key is the field that contains a unique field value for each record. • In some tables, this field is called AutoNumber because it automatically adds a unique number.
  • 9. 9 Microsoft Office 2007: Pasewark & Introductory Pasewark Access – Lesson 2
  • 10. 10 Microsoft Office 2007: Pasewark & Introductory Pasewark Designing a Table (continued) • You can tell that Access created an AutoNumber for the ID field because of the word New in the first record’s field. • Good candidates for being a primary key are Access – Lesson 2 ▫ Employee numbers ▫ Social security numbers ▫ Student ID numbers • The advantage of setting a primary key is that Access will not let you enter duplicate values for this field in different records.
  • 11. 11 Microsoft Office 2007: Pasewark & Introductory Pasewark Access – Lesson 2
  • 12. 12 Microsoft Office 2007: Pasewark & Introductory Pasewark Designing a Table (continued) • To enter a field name in Datasheet view, double-click the “Add New Field” field selector. • After you have created all the fields, you can enter the first record. Access – Lesson 2 • Access assigns a data type as you enter data (Text, Memo, Number, etc.). • You can change the data type for a field by clicking the Data Type arrow in the Data Type & Formatting group on the Table Tools Datasheet tab.
  • 13. 13 Microsoft Office 2007: Pasewark & Introductory Pasewark Working in Design View • In Design view you can add, delete, and make changes to how fields store data. • The field names and data types appear Access – Lesson 2 in the upper half in a design grid. • The Field Properties pane appears below. • A selected field turns orange. The primary key has a key symbol in it.
  • 14. 14 Microsoft Office 2007: Pasewark & Introductory Pasewark Table in Design View ( Behind the Scene) Unique ID Like SS# Access – Lesson 2
  • 15. 15 Microsoft Office 2007: Pasewark & Introductory Pasewark Working in Design View (continued) • You can use the options in the Tool group on the Table Tools Design tab to: ▫ Add and delete fields, insert a field ▫ Drag fields in the design grid to a new location ▫ Rename a field, and change a field’s data type Access – Lesson 2 • The Description property in the design grid is optional, and you can use it to describe what to enter in the field. • Any changes made in Design view are automatically updated in Datasheet view when you save the table.
  • 16. 16 Microsoft Office 2007: Pasewark & Introductory Pasewark Changing Field Properties in Design View • A field property describes the field’s contents beyond the field’s basic data type, such as: ▫ Indicating number of characters allowed ▫ Indicating allowable values • Field properties will vary depending on the field’s Access – Lesson 2 data type. • The Field Size property sets the number of characters you can store in a Text, Number or AutoNumber field. • There is an array of Field Size property options including the ability to store decimals, positive numbers, negative numbers, or whole numbers.
  • 17. 17 Microsoft Office 2007: Pasewark & Introductory Pasewark Access – Lesson 2
  • 18. 18 Microsoft Office 2007: Pasewark & Introductory Pasewark Access – Lesson 2
  • 19. 19 Microsoft Office 2007: Pasewark & Introductory Pasewark Changing Field Properties in Design View (continued) • Use the Format property to specify how you want Access to display numbers, dates, times and text. • For example, if you enter the date 10-28-10, Access will display it as October 28, 2010, if the Format Access – Lesson 2 property is set that way. • The Default Value property enters the same field value in a field every time a new record is added to a table. • The Required property specifies whether you must enter a field value in a record.
  • 20. 20 Microsoft Office 2007: Pasewark & Introductory Pasewark Summary • Creating a database creates a file that will store database objects. You can create a database using a template or a Blank Database template. • You can create a table in Datasheet view by entering Access – Lesson 2 the field names, and then entering the first record. • Access assigns the data type as you enter data. Access also creates an ID field to serve as the table’s primary key. The primary key is the field that contains unique field values for every record in a table.
  • 21. 21 Microsoft Office 2007: Pasewark & Introductory Pasewark Summary (continued) • To save a table, click the Save button on the Quick Access Toolbar. • A field’s data type determines the type of data that can be entered, including text, numbers, or Access – Lesson 2 a combination of both. • The data types for Access are Text, Memo, Number, Date/Time, Currency, AutoNumber, Yes/No, OLE Object, Hyperlink, Attachment and Lookup Wizard.
  • 22. 22 Microsoft Office 2007: Pasewark & Introductory Pasewark Summary (continued) • In Design view you can add, delete and rename fields. • A field property describes a field beyond the data type. The properties you can set depend on the data type. Additional properties include: Access – Lesson 2 ▫ Description property describes the field ▫ Field Size property sets # of characters/numbers ▫ Format property sets formatting (i.e. date format) ▫ Required property is used when a field must contain data