SlideShare a Scribd company logo
Adding and Editing Data in TablesLesson 6 ( ACCESS 2007)
Access 2007 databases hold the actual data records inside tables. You can add, edit, and delete records directly from these tables. This lesson will show you how to work in the tables to add new records, as well as how to edit existing records using commands like Copy and Paste and Find and Replace. It will also discuss the dangers involved in deleting records from a table and the importance of setting validation rules and other field properties and to ensure that data is valid.2Guevarra Institute of Technology
Adding Records to TablesWhen you enter records into your table, you are populating the database. In Access 2007, you can do this a few different ways.3Guevarra Institute of Technology
To Add Records in the New Record Row:Click the record row with the asterisk that appears at the bottom of the table.Type the data into the appropriate fields.Hit Enter or the Tab key to move to the next field.4Guevarra Institute of Technology
To Add Records with the New Record Navigation Button:Click the New Record button in the navigation bar. The navigation bar is located in the bottom left corner of the open object pane.Type the data into the appropriate fields.Hit Enter or the Tab key to move to the next field.5Guevarra Institute of Technology
To Add Records with the New Record Command:Click the New Record command in the Records group in the Ribbon.Type the data into the appropriate fields.Hit the Enter or the Tab key to move to the next field.6Guevarra Institute of Technology
Editing Records in TablesSometimes it is necessary to edit records in the database. Like with every other task in Access 2007, this can be done several different ways.7Guevarra Institute of Technology
To Edit a Record Directly:Scroll through the records or use the Navigation Buttons in the navigation bar to find the record to edit.8Guevarra Institute of Technology
Click the cell that contains the information that must be edited. A pencil icon appears to indicate edit mode.Type the new information into the fieldClick outside of the record row to apply the change.9Guevarra Institute of Technology
To Edit a Record using Find and Replace:Click the Find command in the Find group on the Ribbon.10Guevarra Institute of Technology
The Find and Replace dialogue box opens.Tell Access what to find by typing it into the Find What: area.Type the replace term in the Replace With: area.Tell Access where to look with the Look In: drop down list. Tip--The first choice in, the drop down is the field you were last in in the table.Tell Access what to Match: Any part of the field, the whole field, or just the start of the field.Tell Access how to Search: Up finds records above the cursor, Down finds records below the cursor, and All searches all records.Click on one of the action options:11Guevarra Institute of Technology
Click on one of the action options:Find Next will find the next instance of the word in the table.Replace will put the new word into the table, overwriting what is currently there.Use Cancel to stop the edit process.CAUTION: DO NOT use Replace All , as it will overwrite every instance of the Find term in the table, which can have a serious impact on your data.12Guevarra Institute of Technology
To Copy and Paste a Record:Select the record that you want to copy. Right click and select Copy.Select the new record row. Then right click and select Paste. The record information appears, with a new record ID number.13Guevarra Institute of Technology
To Delete a Record:Select the record that you want to delete. Then, right click and select Delete RecordA dialog box appears, telling you the action can not be undone and asking if you are sure you want to delete theThere may be other records that rely on the record you are trying to delete. DO NOT delete a record without knowing how it will impact the rest of your database.14Guevarra Institute of Technology
Record Numbering after Deleting RecordsWhen you delete a record, that record number is permanently deleted from the database table. If you delete the last record from a table, and then add a new record, your new record numbers will appear to be out of sequence.15Guevarra Institute of Technology
Data ValidationData Validation is a very important database concept. It is the process by which Access tests the data that is being entered into the database, to make sure it is in an acceptable, or valid, format.Imagine that one of your database users has entered an order date of January 4, 2008 in the month/date/year format, as 01/04/2008. Another user has entered an order placed on that same date in the day/month/year format, as 04/01/2008. Now, if the database is tracking all sales for the month of January 2008, it may not show both orders as placed in January, even though both were placed on the same date.Access 2007 allows you to set field properties and data validation rules, to force the person entering data to follow a specific format.16Guevarra Institute of Technology
Data Types and Validation RulesData Validation begins when data types are set during the process of building tables and fields. For example, if a field data type had been set to Currency and a text value is entered in that table field during data entry, Access will not accept an invalid format and will display a validation error, like the one below.Data validation is accomplished by setting data validation rules and other field properties for various fields. 17Guevarra Institute of Technology
Setting Data Validation RulesIn Design View, highlight the field that requires a validation rule.In the Field Properties section at the bottom half of the window, set your validation rule using the Expression Builder. The expression builder offers common syntax to set up a data validation rule.18Guevarra Institute of Technology
Use Expression Builder to Enter Validation Rule19Guevarra Institute of Technology
Validation Rule for Category FieldValidation rules work most easily with numeric fields. Rules for text fields require you to enclose each acceptable value inside its own quotation marks, separating them with Or, as seen above.20Guevarra Institute of Technology
Validation TextValidation Text is a specialized error message that you can set to have Access tell the person entering data the specific way you would like them to enter it.To set the Validation Text, enter the error message exactly as you want it to appear to your user in the row directly beneath the Validation Rule row in the Field Properties section of Design View. For the validation rule that we set for Category, you would set the validation text like this:21Guevarra Institute of Technology
Validation Text for Category Field22Guevarra Institute of Technology
The following image shows the resulting error message that the user would see when they have broken the Category validation rule:23Guevarra Institute of Technology
Using Field Properties to Ensure Data IntegrityAnother way to ensure data integrity is by setting field properties such as Field Size, Format, and Required.Field Size can be set to hold a specific number of characters, up to as many as 255 for text fields. If you were using a text field to hold the two letter state postal abbreviation, the field size could be set to 2 to ensure that no one enters a full state name into this field.The Format field property can be set to display text or numbers in a standardized way. For example, text can be set to show as all uppercase and numbers can be set to show scientific numbers, percentages, or decimals.Set the Required property to Yes if you want the person entering data to be required to enter something in the field. Choose No if the person entering data is allowed to leave the field blank.These are just some ways Access helps you ensure that data being entered into your database is valid.24Guevarra Institute of Technology
ChallengeOpen the database, and add records using the new record navigation buttonAdd a record using the New Record command in the RibbonEdit a record using the Find and Replace command.Copy and Paste a record in one of the tablesSet a validation rule and validation text for a field in one of your tables. Then, break the rule when entering data and see the resulting message.25Guevarra Institute of Technology

More Related Content

PDF
Using List Views
PPTX
Access lesson05
PPTX
Access lesson 03 Creating Queries
PPTX
Access lesson 02 Creating a Database
PPTX
Access lesson 01 Microsoft Access Basics
PPTX
Access lesson 04 Creating and Modifying Forms
PPTX
Access lesson 06 Integrating Access
PPTX
Lesson Four Setting Up Tables And Fields
Using List Views
Access lesson05
Access lesson 03 Creating Queries
Access lesson 02 Creating a Database
Access lesson 01 Microsoft Access Basics
Access lesson 04 Creating and Modifying Forms
Access lesson 06 Integrating Access
Lesson Four Setting Up Tables And Fields

What's hot (20)

PDF
MS Access 2010 tutorial 5
PDF
MS Access 2010 tutorial 4
PPT
Microsoft Office Excel 2003 Sorting And Filtering
PPTX
Advanced Filter in Excel
PDF
MS Access 2010 tutorial 3
PPTX
Tutorial for using SQL in Microsoft Access
PDF
Basic Access Notes
PPT
creating data
PPTX
Lesson 10 - Sorting , Grouping and Filtering Cells
PPTX
Lecture2 slides
PPTX
Working with Star Office Base - R.D.Sivakumar
PDF
Ms access notes
PDF
Basic introduction to ms access
PPT
Access 2007
PPTX
Excel chapter-9
PDF
Microsoft Access Notes 2007 Ecdl
PPTX
Integration with Office Automation Applications - R.D.Sivakumar
PPTX
PPT On MS-Access 2007 | Full Concepts |
PDF
Access 2007 lecture notes students
PPTX
ppt on data tab in ms.excel
MS Access 2010 tutorial 5
MS Access 2010 tutorial 4
Microsoft Office Excel 2003 Sorting And Filtering
Advanced Filter in Excel
MS Access 2010 tutorial 3
Tutorial for using SQL in Microsoft Access
Basic Access Notes
creating data
Lesson 10 - Sorting , Grouping and Filtering Cells
Lecture2 slides
Working with Star Office Base - R.D.Sivakumar
Ms access notes
Basic introduction to ms access
Access 2007
Excel chapter-9
Microsoft Access Notes 2007 Ecdl
Integration with Office Automation Applications - R.D.Sivakumar
PPT On MS-Access 2007 | Full Concepts |
Access 2007 lecture notes students
ppt on data tab in ms.excel
Ad

Similar to Lesson Six Entering And Editing Data In Tables (20)

PDF
Adding A New Field
PPTX
Priyank Goel PPT.pptx
DOCX
Ms Access
DOCX
1 Week 4 What Well Be Working on This Week B.docx
PDF
Fill series. Data validation. Excel Tutorial
PPTX
Introduction to spss 1
PPT
HARJOT.ppt gggggggggggggggggggggggggggggggggggggggg
PPTX
Wagby R7 Specification
PPTX
Gl13 m7-c1-presentation
DOCX
Management of database information system
PDF
Customizing Forms
PPTX
Operate Spreadsheet applications ppt.pptx
PPT
HARJOT.ppt
PDF
Tableau.pdf well detailed with all the steps
PDF
Creating CADWorx Specifications and Adding Components to the Specification.pdf
PDF
Creating CADWorx 2013 Specifications and Adding Components to the Specificati...
PDF
MS ACCESS ( a very simple PPT for studentes)
PPTX
MS ACCESS PPT.pptx
PPTX
MS OFFICE INTRODUCTION...........................
PDF
Adding A New Field
Priyank Goel PPT.pptx
Ms Access
1 Week 4 What Well Be Working on This Week B.docx
Fill series. Data validation. Excel Tutorial
Introduction to spss 1
HARJOT.ppt gggggggggggggggggggggggggggggggggggggggg
Wagby R7 Specification
Gl13 m7-c1-presentation
Management of database information system
Customizing Forms
Operate Spreadsheet applications ppt.pptx
HARJOT.ppt
Tableau.pdf well detailed with all the steps
Creating CADWorx Specifications and Adding Components to the Specification.pdf
Creating CADWorx 2013 Specifications and Adding Components to the Specificati...
MS ACCESS ( a very simple PPT for studentes)
MS ACCESS PPT.pptx
MS OFFICE INTRODUCTION...........................
Ad

More from guevarra_2000 (20)

PDF
School personnel sheet2
PPTX
Ting's report on training of spa
PDF
Personnel admin
PPTX
Personnel administration
PDF
Supervisor's role
PPTX
Filipino values and culture
PDF
Format for the action research project
DOCX
Course outline
PDF
Course outline
PDF
Action research format
PPT
Recruitment
PPT
Recruitmentcompatible 1222798911739370-9
PPTX
Filipino culture report
PPTX
Personnel administration report
PPT
Leader&cultural diversity
PPT
Leader&cultural diversity
PPT
Edleadership
PPTX
Principles of getting job done
PPTX
Leading different personalities
PPTX
Success2012
School personnel sheet2
Ting's report on training of spa
Personnel admin
Personnel administration
Supervisor's role
Filipino values and culture
Format for the action research project
Course outline
Course outline
Action research format
Recruitment
Recruitmentcompatible 1222798911739370-9
Filipino culture report
Personnel administration report
Leader&cultural diversity
Leader&cultural diversity
Edleadership
Principles of getting job done
Leading different personalities
Success2012

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
cuic standard and advanced reporting.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Spectroscopy.pptx food analysis technology
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
cuic standard and advanced reporting.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Lesson Six Entering And Editing Data In Tables

  • 1. Adding and Editing Data in TablesLesson 6 ( ACCESS 2007)
  • 2. Access 2007 databases hold the actual data records inside tables. You can add, edit, and delete records directly from these tables. This lesson will show you how to work in the tables to add new records, as well as how to edit existing records using commands like Copy and Paste and Find and Replace. It will also discuss the dangers involved in deleting records from a table and the importance of setting validation rules and other field properties and to ensure that data is valid.2Guevarra Institute of Technology
  • 3. Adding Records to TablesWhen you enter records into your table, you are populating the database. In Access 2007, you can do this a few different ways.3Guevarra Institute of Technology
  • 4. To Add Records in the New Record Row:Click the record row with the asterisk that appears at the bottom of the table.Type the data into the appropriate fields.Hit Enter or the Tab key to move to the next field.4Guevarra Institute of Technology
  • 5. To Add Records with the New Record Navigation Button:Click the New Record button in the navigation bar. The navigation bar is located in the bottom left corner of the open object pane.Type the data into the appropriate fields.Hit Enter or the Tab key to move to the next field.5Guevarra Institute of Technology
  • 6. To Add Records with the New Record Command:Click the New Record command in the Records group in the Ribbon.Type the data into the appropriate fields.Hit the Enter or the Tab key to move to the next field.6Guevarra Institute of Technology
  • 7. Editing Records in TablesSometimes it is necessary to edit records in the database. Like with every other task in Access 2007, this can be done several different ways.7Guevarra Institute of Technology
  • 8. To Edit a Record Directly:Scroll through the records or use the Navigation Buttons in the navigation bar to find the record to edit.8Guevarra Institute of Technology
  • 9. Click the cell that contains the information that must be edited. A pencil icon appears to indicate edit mode.Type the new information into the fieldClick outside of the record row to apply the change.9Guevarra Institute of Technology
  • 10. To Edit a Record using Find and Replace:Click the Find command in the Find group on the Ribbon.10Guevarra Institute of Technology
  • 11. The Find and Replace dialogue box opens.Tell Access what to find by typing it into the Find What: area.Type the replace term in the Replace With: area.Tell Access where to look with the Look In: drop down list. Tip--The first choice in, the drop down is the field you were last in in the table.Tell Access what to Match: Any part of the field, the whole field, or just the start of the field.Tell Access how to Search: Up finds records above the cursor, Down finds records below the cursor, and All searches all records.Click on one of the action options:11Guevarra Institute of Technology
  • 12. Click on one of the action options:Find Next will find the next instance of the word in the table.Replace will put the new word into the table, overwriting what is currently there.Use Cancel to stop the edit process.CAUTION: DO NOT use Replace All , as it will overwrite every instance of the Find term in the table, which can have a serious impact on your data.12Guevarra Institute of Technology
  • 13. To Copy and Paste a Record:Select the record that you want to copy. Right click and select Copy.Select the new record row. Then right click and select Paste. The record information appears, with a new record ID number.13Guevarra Institute of Technology
  • 14. To Delete a Record:Select the record that you want to delete. Then, right click and select Delete RecordA dialog box appears, telling you the action can not be undone and asking if you are sure you want to delete theThere may be other records that rely on the record you are trying to delete. DO NOT delete a record without knowing how it will impact the rest of your database.14Guevarra Institute of Technology
  • 15. Record Numbering after Deleting RecordsWhen you delete a record, that record number is permanently deleted from the database table. If you delete the last record from a table, and then add a new record, your new record numbers will appear to be out of sequence.15Guevarra Institute of Technology
  • 16. Data ValidationData Validation is a very important database concept. It is the process by which Access tests the data that is being entered into the database, to make sure it is in an acceptable, or valid, format.Imagine that one of your database users has entered an order date of January 4, 2008 in the month/date/year format, as 01/04/2008. Another user has entered an order placed on that same date in the day/month/year format, as 04/01/2008. Now, if the database is tracking all sales for the month of January 2008, it may not show both orders as placed in January, even though both were placed on the same date.Access 2007 allows you to set field properties and data validation rules, to force the person entering data to follow a specific format.16Guevarra Institute of Technology
  • 17. Data Types and Validation RulesData Validation begins when data types are set during the process of building tables and fields. For example, if a field data type had been set to Currency and a text value is entered in that table field during data entry, Access will not accept an invalid format and will display a validation error, like the one below.Data validation is accomplished by setting data validation rules and other field properties for various fields. 17Guevarra Institute of Technology
  • 18. Setting Data Validation RulesIn Design View, highlight the field that requires a validation rule.In the Field Properties section at the bottom half of the window, set your validation rule using the Expression Builder. The expression builder offers common syntax to set up a data validation rule.18Guevarra Institute of Technology
  • 19. Use Expression Builder to Enter Validation Rule19Guevarra Institute of Technology
  • 20. Validation Rule for Category FieldValidation rules work most easily with numeric fields. Rules for text fields require you to enclose each acceptable value inside its own quotation marks, separating them with Or, as seen above.20Guevarra Institute of Technology
  • 21. Validation TextValidation Text is a specialized error message that you can set to have Access tell the person entering data the specific way you would like them to enter it.To set the Validation Text, enter the error message exactly as you want it to appear to your user in the row directly beneath the Validation Rule row in the Field Properties section of Design View. For the validation rule that we set for Category, you would set the validation text like this:21Guevarra Institute of Technology
  • 22. Validation Text for Category Field22Guevarra Institute of Technology
  • 23. The following image shows the resulting error message that the user would see when they have broken the Category validation rule:23Guevarra Institute of Technology
  • 24. Using Field Properties to Ensure Data IntegrityAnother way to ensure data integrity is by setting field properties such as Field Size, Format, and Required.Field Size can be set to hold a specific number of characters, up to as many as 255 for text fields. If you were using a text field to hold the two letter state postal abbreviation, the field size could be set to 2 to ensure that no one enters a full state name into this field.The Format field property can be set to display text or numbers in a standardized way. For example, text can be set to show as all uppercase and numbers can be set to show scientific numbers, percentages, or decimals.Set the Required property to Yes if you want the person entering data to be required to enter something in the field. Choose No if the person entering data is allowed to leave the field blank.These are just some ways Access helps you ensure that data being entered into your database is valid.24Guevarra Institute of Technology
  • 25. ChallengeOpen the database, and add records using the new record navigation buttonAdd a record using the New Record command in the RibbonEdit a record using the Find and Replace command.Copy and Paste a record in one of the tablesSet a validation rule and validation text for a field in one of your tables. Then, break the rule when entering data and see the resulting message.25Guevarra Institute of Technology