Working with a Database

Slides:



Advertisements
Similar presentations
Benchmark Series Microsoft Access 2010 Level 1
Advertisements

Chapter 3 Creating a Business Letter with a Letterhead and Table
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Excel Tutorial 1 Getting Started with Excel
Review. Microsoft Office Excel 2013 provides powerful tools to organize, analyze, manage, and share information Locations where work is done are cells,
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Using a Template to Create a Resume and Sharing a Finished Document
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Chapter 1 Databases and Database Objects: An Introduction
Excel Lesson 3 Organizing the Worksheet
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 3 Maintaining a Database Using the Design and Update Features of Access.
Excel Lesson 3 Organizing the Worksheet
1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 1 Microsoft Access Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
1 Access Lesson 1 Microsoft Access Basics Microsoft Office 2010 Introductory.
Using a Spreadsheet Chapter 5.
Chapter 1 Databases and Database Objects: An Introduction
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
Learning With Computers II (Level Orange) ©2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Key Applications Module Lesson 21 — Access Essentials
Microsoft Publisher 2010 Chapter 7 Advanced Formatting and Merging Publications with Data.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Microsoft Access 2010 Chapter 10 Administering a Database System.
® Microsoft Office 2013 Access Creating a Database.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
© Paradigm Publishing Inc. ACCESS CREATING QUERIES, FORMS, AND REPORTS Section 3.
Key Applications Module Lesson 17 — Organizing Worksheets Computer Literacy BASICS.
Relational Database Techniques
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Excel Lesson 1 Microsoft Excel Basics
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
1 Excel Lesson 2 Organizing the Worksheet & Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
Microsoft® Excel Create an Excel table. 1 Work with the Table Tools Design tab. 2 Sort and filter records in a table. 3 Identify structured references.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Create ReportsCreate Reports Lesson 6 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Access Microsoft Access 2013.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Pasewark & Pasewark 1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2007: Introductory.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Maintaining a Database
Microsoft Access 2007 – Level 1
Microsoft Excel 101.
Chapter 7 Advanced Formatting and Merging Publications with Data
MODULE 7 Microsoft Access 2010
Chapter 9 Lesson 2 Notes.
Chapter 1 Databases and Database Objects: An Introduction
Objectives At the end of this session, students will be able to:
Access Lesson 1 Microsoft Access Basics
Presentation transcript:

Working with a Database Chapter 9

What is a database? A database is an organized collection of related data. A corporation’s employee data A store’s inventory Information about a collection The computer application used for creating a database is a called relational database management system (RDBMS). Microsoft Access

Database Terminology A database is organized into a series of tables. Tables contain related data, such as all of the data about a company’s orders, their customers, or their employees. Within a table, fields store data. Access displays a table in a datasheet, which organizes fields into columns. A record is a set of data for the fields in a table. The records in a datasheet are organized into rows, one record after another. Each table contains a primary key, which is a unique identifier used to ensure that no two records in a table are the same.

Opening a Database When Access 2010 is started, New options are displayed in Backstage view. Backstage view includes Quick Commands for saving, opening, and closing a database. Along with the New tab, there are also tabs for displaying Info, Recent, Print, Share, and Help options An Access database is saved with an .accdb extension. To open an existing database, click Open, which displays the Open dialog box. Navigate to the appropriate location, click the database file, and then select Open.

Backstage View

Microsoft Access 2010 Interface The File tab displays a menu of commands for opening, saving and printing database objects (Backstage View). Use the Ribbon and the Quick Access Toolbar to select commands and perform actions. The Navigation Pane is used to run, open, and manage the objects of a database. Open objects are displayed in a document window

File Tab Document Window

Database Design In a database, data is divided into tables to eliminate unnecessary data duplication, or data redundancy. Creating a new database involves determining the database schema, which is a description of the data and the organization of the data into tables.

Guided Practice: Gadget Sales – part 1 of 12

Working With Tables The Navigation Pane contains a list of tables that have been created within the database. To open a table, double-click the table name. The table opens in the document window. Use the tabs to switch between open tables. Tables are closed by clicking the Close button in the top-right corner of the table

Using Forms A form is a database object used for entering records into a table and for viewing existing records. Form names are listed in the Navigation Pane If form names are not listed, click the All Access Objects arrow to display a drop-down menu and click Form To open a form, double-click the form name in the Navigation Pane The form opens in Form View in the document window The data for a field is called an entry. In a form, an entry box is displayed for each field. Record controls are displayed at the bottom of an open form and are used to display a specific record Record controls appear dimmed if they cannot be used at the current time If a table contains no data, then its corresponding form will display an empty record

Adding Records Adding records to a database is called populating a database. One way to populate is to type entries into a form. Data entry is best done with a simple form or a split form These forms display all the fields for one record without needing to scroll Because only one record at a time is displayed, data entry is less error-prone To add a new record, click New record at the bottom of a form and then type the data for the new record. Click an entry box to place the insertion point in that box.

Guided Practice: Gadget Sales – part 2 of 12

Using Datasheet View Datasheet view displays a table in a datasheet where fields are in columns and records in rows. This view is useful for comparing records and is often used when sorting or filtering data. Also useful for printing data because many records can fit on a single sheet of paper. To open a table in Datasheet view, double-click the table name in the Navigation pane.

Using Datasheet View Cont’d Records can be added in datasheet view The asterisk (*) that appears to the left of the row below the last record indicates where a new record will appear. It is not a blank record and it cannot be deleted or removed. The gray box to the left of each record is a record selector. Click a record selector to make a record active.

Using Datasheet View Cont’d The column borders, called boundaries, are used to change the width of a column. Point to the right boundary until the pointer changes and then drag the boundary to the right to increase the width of the column. Drag the boundary line to the left to decrease the width. Double-click the boundary to size the column to exactly fit the data.

Using Datasheet View Cont’d The order in which the fields appear in a datasheet are changed by dragging a selected field to a new location. Point to the bottom border of the field name until the pointer changes and then drag the field to a new position. A heavy dark line indicates the field’s new location.

Using Datasheet View Cont’d Formatting can improve the readability of a datasheet. Use the Home tab to apply formats

Sorting Records Placing records in a specific order is called sorting. Can be sorted either ascending order (lowest to highest or A to Z) or descending order (highest to lowest or Z to A). To sort records based on the data in a field, first click that field name. Home → Ascending or Home → Descending To remove all applied sorts, click Home → Remove Sort Sorting a datasheet does not affect the order the records are displayed in a form.

Filtering Records Displaying records based on a specific criteria is called filtering. When a filter is applied, records that do not meet the specified criteria are hidden from view until the filter is removed. To filter records based on the data in a field, click the field to base the filter on and then click Home → Filter to display a menu. Clear the check boxes and then select OK to hide records containing those entries. Select Text Filters to create a custom filter. Text Filter commands include “Does Not Equal,” “Begins With,” and “Contains” To remove a filter, Click Home → Toggle Filter. To remove all filters permanently, click Home → Advanced → Clear All Filters

Previewing and Printing A Datasheet Previewing a datasheet shows what printouts will look like. Select File → Print → Print Preview The document will appear as a printed page and the Print Preview tab is displayed. Portrait: default page layout; shorter edge of paper at top; allows more rows than columns to print on a page Landscape: longer edge of paper is at top; allows more columns than rows to print on a page Margins → Narrow: reduces the amount of white space around the edges of a page; allows more rows and columns to fit on a page

Previewing and Printing A Datasheet One Page: the default view with just one page of the document being displayed at a time. Click Two Pages to view two pages at once. PDF or XPS: exports the table to a PDF or XPS document format; can also export to an e- mail, Excel file, or text file. Print: displays a dialog box for selecting print options before printing the document Close Print Preview: to return to the previous view.

Previewing and Printing A Datasheet If a filter has been applied, only the visible records will be printed Another way to limit the records printed is to first select the records before previewing and then use the Selected Record(s) option in the Print dialog box when printing. To select records, press and hold the CTRL key while clicking the record selector boxes to the left of the records to print.

Guided Practice: Gadget Sales – part 3 of 12

Updating and Deleting Records The information in a database usually requires frequent changes. These changes include modifying existing records and deleting outdated records. Modifying a record is called updating. Click the record controls at the bottom of the form until the appropriate record is displayed. Next, double-click the entry to be changed and then type to replace the existing data can be edited. To modify a hyperlink entry, use the Tab key to select the entry and then type a new address. To delete the active record, click Home → Delete → Delete Record. Access displays a warning dialog box before a record is deleted. Select Yes to remove the current record. Select No to retain the record.

Guided Practice: Gadget Sales – part 4 of 12

Using Copy and Paste To Transfer Data Businesses often present database information in letters, annual reports, and other documents. Rather than retype entries and records, which could introduce typing errors, data should be copied and pasted directly into the document from the database. To select data for copying, point to the left of a table entry until the pointer changes to a plus sign and then click. Adjacent entries can be selected by dragging. To select an entire record, click the record selector. Drag from one record selector to another to select multiple records.

Using Copy and Paste To Transfer Data To copy and paste selected entries from a table to a Word document, click Home → Copy, display the Word document, place the insertion point where the data is to appear, and then click Home → Paste. Data copied from Access is pasted as a table into a Word document. Click Paste Options in the document to display a list of formatting options for the pasted data. To copy database entries to an Excel worksheet, select entries in a table, click Home Copy, display the worksheet, select the cell to receive the data, and then click Home Paste. The data is pasted starting in the selected cell. Data for a new record often comes from another document, such as a letter in an e-mail attachment. When possible, use Copy and Paste to copy data to database entry boxes to avoid typographical errors.

Guided Practice: Gadget Sales – part 5 of 12

Importing Data A third way to populate a database is by importing data from an existing file. Importing data means that a file created in one application is converted for use by the receiving application. Excel files and text files are two file types supported by Access for importing data. Imported data can be appended, or added, to an existing table Use to create a completely new table Click External Data → Excel or External Data → Text File from the Import & Link group. Select the workbook/file from the displayed dialog box and then use the Import Spreadsheet/Text Wizard dialog boxes to specify the field names, primary key, and table name.

Guided Practice: Gadget Sales – part 6 of 12

Collecting Data With E-Mail A fourth way to populate a database is by collecting data through e-mail messages. With this approach, an e-mail message includes a data entry form for the recipient to fill out and return. Responses can be either collected for processing later or automatically processed. When responses are automatically processed, records are added to the database as the e-mails are received. To collect data, select a table in the Navigation pane and then click External Data → Create E- Mail. Use the wizard dialog boxes to specify the type of form, the fields to added to the form, and how the data is to be processed.

Guided Practice: Gadget Sales – part 7 of 12