Objective 1: Familiarize yourself with basic database terms and definitions. Objective 2: Familiarize yourself with the Access environment.

Similar documents
Getting started with Ms Access Getting Started. Primary Key Composite Key Foreign Key

Introduction to Microsoft Access 2016

Microsoft Access 2010

Creating a Crosstab Query in Design View

Microsoft Access 2010

SOFTWARE SKILLS BUILDERS

Enforce Referential. dialog box, click to mark the. Enforce Referential. Integrity, Cascade Update Related Fields, and. Cascade Delete Related

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Microsoft Access 2013

Microsoft Access 2013

Working with Data in Microsoft Excel 2010

Microsoft Office 2016 Mail Merge

Microsoft Office Excel

TECHNOLOGY COMPETENCY ASSESSMENT MODULE Microsoft Access

Creating and Running a Report

Access Groups. Collect and Store. Text Currency Date/Time. Tables Fields Data Type. You Your Friend Your Parent. Unique information

MS Access Let s begin by looking at the toolbar and menu of Access.

WEEK NO. 12 MICROSOFT EXCEL 2007

Access Groups. Collect and Store. Text Currency Date/Time. Tables Fields Data Type. You Your Friend Your Parent. Unique information

Open. Select the database and click. Print. Set printing options using the dropdown menus, then click the

Access Review. 4. Save the table by clicking the Save icon in the Quick Access Toolbar or by pulling

Microsoft Access 2007 Module 1

Microsoft Access II 1.) Opening a Saved Database Music Click the Options Enable this Content Click OK. *

Microsoft Access Basics

Gloucester County Library System EXCEL 2007

Table of Contents COURSE OVERVIEW... 5

Access Intermediate

Microsoft Access 2007 Module 2

Name: Class: Date: Access Module 2

Microsoft Office Access Learn how to use the Query window in Design view. Tutorial 3b Querying a Database

Gloucester County Library System. Excel 2010

-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1.

Microsoft Certified Application Specialist Exam Objectives Map

eschoolplus+ Cognos Query Studio Training Guide Version 2.4

Query Studio Training Guide Cognos 8 February 2010 DRAFT. Arkansas Public School Computer Network 101 East Capitol, Suite 101 Little Rock, AR 72201

Using Microsoft Access

Word Getting Started The Word Window u vw. Microsoft QUICK Source. Creating a New Blank Document. Creating a New Document from a Template

Access - Introduction to Queries

Access Groups. Collect and Store. Text Currency Date/Time. Tables Fields Data Type. You Your Friend Your Parent. Unique information

Access 2013 Introduction to Forms and Reports

Excel 2013 Intermediate

ACCESS 2007 FOUNDATION

Database Use & Design

Access Intermediate

NiceForm User Guide. English Edition. Rev Euro Plus d.o.o. & Niceware International LLC All rights reserved.

Microsoft Access 2013

Level 6 Relational Database Unit 3 Relational Database Development Environment National Council for Vocational Awards C30147 RELATIONAL DATABASE

Business Process Procedures

Complete Quick Reference Summary

Mail Merge Labels Envelopes

QUERY USER MANUAL Chapter 7

Introduction to Microsoft Office Access 2010

ACCT 133 Excel Schmidt Excel 2007 to 2010 Conversion

Office of Instructional Technology

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Quick Start Guide - Contents. Opening Word Locating Big Lottery Fund Templates The Word 2013 Screen... 3

INTRODUCTION ACCESS 2010

Using Microsoft Access

Introductory Exercises in Microsoft Access XP

.txt - Exporting and Importing. Table of Contents

Microsoft Access Description

Administering a Database System

Beginning PowerPoint: 2010 A Presentation Software

Word - Basics. Course Description. Getting Started. Objectives. Editing a Document. Proofing a Document. Formatting Characters. Formatting Paragraphs

Shelly Cashman Series Microsoft Office 365 and Access 2016 Introductory 1st Edition Pratt TEST BANK

Database Tables Lookup Wizard Relationships Forms Subforms Queries Reports

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design

Kenora Public Library. Computer Training. Introduction to Excel

Microsoft Access XP (2002) Reports

1 THE PNP BASIC COMPUTER ESSENTIALS e-learning (MS Excel 2007)

Data Should Not be a Four Letter Word Microsoft Excel QUICK TOUR

Microsoft Office Access 2013: Part 01. Lesson 01 - Getting Started with Access

Excel 2010 Level 1: The Excel Environment

Microsoft Word - Starting the Mail Merge Wizard

Advanced Excel. Click Computer if required, then click Browse.

Excel Tutorial 1

GO! with Microsoft Access 2016 Comprehensive

The following instructions cover how to edit an existing report in IBM Cognos Analytics.

Rev. B 12/16/2015 Downers Grove Public Library Page 1 of 40

New York City College of Technology. Microsoft Word Contact Information:

Microsoft Access XP (2002) Queries

Skills Exam Objective Objective Number

Microsoft Excel 2013: Part 3 More on Formatting Cells And Worksheet Basics. To apply number formatting:

Excel Level 1

Creating Mail Merges. Instruction Guide. For Microsoft Word o 2002 o 2003 (XP) o 2007/2013

Excel 2016 Basics for Windows

VUEWorks Report Generation Training Packet

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4

Introduction to Microsoft Excel 2016

MIS Cases: Decision Making With Application Software, Second Edition. Database Glossary

Access 2003 Introduction to Report Design

Spreadsheets Microsoft Office Button Ribbon

Introduction. Inserting and Modifying Tables. Word 2010 Working with Tables. To Insert a Blank Table: Page 1

Using Microsoft Excel

Advanced Excel for EMIS Coordinators

Using Microsoft Excel

Microsoft Access 5: Reports & Other Useful Functions

Introduction to Microsoft Excel 2010

Microsoft Access XP Queries. Student Manual

Excel 2013 PivotTables and PivotCharts

Transcription:

Beginning Access 2007 Objective 1: Familiarize yourself with basic database terms and definitions. What is a Database? A Database is simply defined as a collection of related groups of information. Things such as a phone book or address book, a card catalog at a library, and student scheduling or grade records are all databases. Each group of information (record) has the same pieces of information (fields), even though they hold different values. Terms: Record - A group of information about a given person, product, or event Field - Each category or piece of information within a record. The fields are the placeholders for the actual data to be stored within the database. Every record has the same fields, but the fields store different data. Field names a unique name given to each field in the database Data type- tells Access the type of data the field will contain Objective 2: Familiarize yourself with the Access environment. Basic Navigation To Start Access 1. Click the Start button on the taskbar. 2. Point to All Programs. 3. Click Microsoft Office 4. Click Microsoft Office Access 2007 The Microsoft Button is available in all Office programs and contains commands such as saving, opening, and printing. The right pane of the button will list your recently used documents. The Quick Access Toolbar is the small group of buttons on the left, above the Ribbon. It contains commands such as Save, Undo, Repeat, Redo and other commands that used to appear under the drop-down menu. 1

To Create a New Database 1. Click the Microsoft Office Button then click New. 2. From the Getting Started with Microsoft Access Welcome Screen, the Featuring Template Category, Click Blank database from the New Blank Database header. 3. Choose the location for storing the new database then enter a filename for the database. 4. Click Create. To Open an Existing Database 1. Click the Microsoft Office Button then click Open 2. From the Open window, locate the database, click it to select it then click Open. 3. If necessary, click the Open button in the Security Warning window. 2

Familiarize yourself with the Database Ribbon Access 2007 offers a new user interface. The top portion of the window has a new structure for Access commands. The band area is called the Ribbon. It is the control center for creating a database. You will no longer see drop-down menus and toolbars. The Ribbon will provide a more visual arrangement of commands in groups. Home Tab consists of formatting tools used to change data in an Access table. Some common tools are copy, paste, font, delete and insert records; etc. Create Tab consists of the different database objects used to create a database. External Data Tab consists of tools to import data into databases as well as export data into external applications, such as Excel and/or Word. Database Tools Tab consists of tools used to create or edit Database Relationships Design Tab consists of tools used to modify the datasheet view of a database, such as inserting and deleting rows Objective 3: Identify and describe the four main types of Access database objects. 4 main types of objects Tables Tables are the main elements in a database. They are where all the specific data information is stored. All the other objects work off of the data in the tables. Forms A Form is the method of making the database interactive via the computer screen. Forms can provide a graphical interface for adding/retrieving information to/from tables Reports A Report is a printed form of output from the database. It may include all records from the tables, or specific records according to a query. Queries A Query is the method of asking the database a question. It is used to re-organize or extract specific records (data) from the table(s). 3

Objective 4: Create a table and enter data into it. Creating a Table To Create a Table in Design View 1. Once you are in the database window, click the Create tab on the Ribbon. 2. Click the Table Design button from the Tables group A Note about planning your Table Design A certain amount of planning is necessary prior to creating the table, you should have a good idea of how you will break down the data you want to store into pieces (fields). You should have a plan for each field in terms of a name, what type of data it will hold, and how you want to describe it. Field names - unique names given to each field in the database can be up to 64 characters long, can contain letters, digits, spaces, and most punctuation symbols, cannot contain periods, exclamation points, or square brackets Data type- tells Access the type of data the field will contain text a text field can contain any character it is limited to 255 characters memo a memo field is essentially a large text field it can hold more data than a text field number a number field contains numbers it is best suited for numbers to be used in a calculation. date/time a date/time field stores calendar data in various formats currency a currency field contains dollar amounts it can also be used to display percentages, scientific notation, etc. AutoNumber this field will receive data automatically you can set the numbering system There are a couple more specialized data types available as well. 4

Description - allows user to enter a detailed description of each field. To Define Fields in a Table 1. Assuming you have just opened a new table in Design view, as shown below 2. Enter the first Field Name in your table. 3. Press the Tab key and choose the data type from the Data Type drop down list. (text, currency, or number, etc.) 4. Press the Tab key and enter a description of the data in the Description field. 5. Press the Tab key and continue until all field names, data types, and descriptions have been entered. 6. Click the Save button on the Quick Access Toolbar and name the table when prompted. Click OK. 5

7. There is no primary key defined message will appear. This is in reference to a database that will contain multiple tables. Click No to not create a primary key for this table. (Primary keys will be discussed in the Intermediate class.) Field Properties:The Field Properties box at the bottom of the table design window holds the settings for the field size, format, and other specific properties of each field. There are a couple things you may commonly want to set in this area, such as the field size, a special numerical display format, or a default value for a specific field. General tab in the Field Properties area of the table design view shows the properties for a field, the exact properties depend on the field s data type. Field Size: A text field such as the State only needs to store two characters. If you change the default 50 to a 2, then only 2 characters will be placed into the State field. Default Value: A text field also allows you to set a default value that will automatically be stored as data in the field, but could be changed if necessary. A good example for this database might be the State field automatically defaulting to GA. Whatever is entered in the field properties area for the default value will show up in the datasheet of the table. Numeric subtype The currency data type is designed to display various numeric formats such as percent and scientific notation. 6

Field Size Default Value To Create a Numeric Subtype 1. Ensure that the Data type for the field you wish to create a Numeric subtype for is set to Currency and that your cursor resides in that field. (Currency consists of Percent styles, as noted in the Grades field name description). 2. Select the General tab from in the Field Properties area. 4. Click the Format drop down list arrow. 5. Choose the numeric subtype you desire. Numeric Subtype Percent Style Entering Data into a Table The final step in creating a table is adding the actual data (filling in the fields of the records) to the table. The table must be in Datasheet view to add data to the table. (Data can also be added to a table via a form.) To Enter Records into a Table 1. Click the Home tab on the Ribbon, click the View button from the Views group, click the Datasheet View button to display the table in Datasheet view 7

2. Enter data into the first field. 7. Continue until each record is complete. 5. Click the Save button on the Quick Access Toolbar to ensure that the data has been saved when finished. Field Names Record Selection Box Records Navigation buttons 8

To Move from One Record to Another Record 1. Use the Arrow keys on the keyboard to move up, down, left or right one field/record at a time or click the Next record or Previous record button found at the bottom of the table window. (The buttons with the line and arrow go to the first/last record in the database.) To Delete Records from a Database 1. Select the record to be deleted by clicking in the Record selection box to the left of the record. (You can also click and drag down to highlight multiple records.) 2. Press the Delete key on the keyboard. 3. Click Yes to confirm the deletion. 9

Drop-Down lists for Data Entry This involves formatting a field such as a Combo Box, which is another possible setting in the Field Properties area of the Design view of the table, to make data entry easier and more consistent. To Create a Drop-down List 1. If necessary, click the View button, Views group, on the Home tab to return to the design view of the table. 2. Insert your cursor into the correct field. (The field type must be set to Text.) 3. Click on the Lookup tab in the Table Properties area. 4. Choose Combo Box from the Display Control drop down list. 5. Choose Value List from the Row Source Type drop down list. 6. In the Row Source box, type in your list of possible values separated by semi-colons. 7. Save your changes and return to the Datasheet View of the table (Home tab, View groups, View button) Select Field Name

The datasheet view of this table will now display a drop down arrow in this field (picture below) the item can be chosen by clicking the arrow, and then clicking on the choice from the list. Sorting Data in a Table Access allows you to organize the data in a table by sorting. You can define a key field for the data to be sorted by and choose either ascending or descending order. To Sort Data 1. If necessary, display the table in datasheet view (Home tab, Views group, View button, Datasheet View) 2. Click on the Field Name drop down arrow that you wish to sort by. (This should select give you a drop down list of options.) 3. Click on the Ascending or Descending buttons from the Sort dialog box. Objective 4 (continued) Importing a data file into Access Select the external data ribbon. Choose the correct file type that you will be importing. Notice that you can also import excel spreadsheets into Access. Text files can be comma delimited or fixed length. The dialogue box provides you the opportunity to browse for the location of your file and to decide if you want the incoming data to be put into a new table, append a table or linked table. Proceed through the next screen of the import wizard by defining the file type. Step 3 of the wizard provides a view

of your data and allows you to define the delimiter or provide you the chance to create breaks in your data if a fixed length file. Notice it also lets you have headers on your data if they are already in your file. Step 4 of the wizard gives you the chance to change the title of the fields, what data type the field should be. I strongly encourage you to have all UIC fields as text to make sure you don t drop leading zeros. Step 5 Do you want a primary key or does your table already contain one? If a student table

your primary key is your student number. The last step is to title the table.

Objective 5: Format Records in the Datasheet View Access 2007 provides several formatting options for records in the datasheet view. Some options include font, font color, spell check, and more. To Format Records in the Datasheet 1. Make sure you are in the datasheet view, click the Record you would like to format 2. Click the Home tab, Click the desired formatting button from the Font group To Spell Check Records in the Datasheet 1. Make sure you are in the datasheet view; 2. To spell check, Click the Home tab, Select the Records group, click the Spelling button 3. Click the necessary button (Ignore, Change; etc) based on the misspelled word

Objective 5: Create a query to obtain information from a database. Queries Access allows you to ask specific questions about items within a database. This method of searching a database is called a query. A query is a question represented in a way that Access can understand. Once you have created a query, you run it to display the answer to the question. The answer will be in the form of a list of records meeting the criteria specified in the query. To create a New Query using the Query Wizard 1.) From the Create Ribbon choose the Query Wizard Icon 2.) The wizard begins the process of asking what type of query you need to filter your data. Simple query query that searches for just one parameter Crosstab query summarizes data in cross-tabular form like a spreadsheet Find Duplicate Query Wizard and Fin Unmatched Query to assist in finding duplicate data or missing data. 3.) Select the table that contains your data and then choose the fields you would like in your query. You can all one field at a time or select all your fields at once to move.

4.) How would you like your data displayed in detail or summary? 5.) Give your query a title.

Objective 5: Queries To Create a New Query Using Query Design 1. From the Database Ribbon, Click the Create tab, 2. Click the Query Design button from the Other group n the database Ribbon 3. Highlight the table you want to retrieve information from, and then click the Add button from the Show Table dialog box. (You may choose more than one table if necessary this option will be discussed in the Intermediate class.) 6. Click Close to close the Show Table dialog box. Design Grid

7. You must specify each field you want to use to gain information from the query. Double click each of the Field Names in the Field list box that you wish to use in the query. 8. You can choose to sort the query results on a particular field by choosing Ascending or Descending from the Sort drop down list arrow that corresponds to the appropriate field name. Students Table Field Names List Query Window Field Names are added to Query Desi g n Grid Criteria button Sort drop down list Show checkbox

9. You can choose to show or not show a particular field in the results by checking or clearing the Show checkbox that corresponds to the appropriate field name. 10. The criteria for specifying which records to display in the query can be entered in the Criteria box that corresponds to the appropriate field name. 11. When the query is set up, click on the Run button from the Design tab, Results group to display the results. 12. C l i c k t h e S a v e b u t t o n f r o m t h e Q u i c k A c c e s s T o o l b a r t o save the query results for later use. Each time the query is run the results will be pulled according to what data is stored in the database. Query Results Use Criteria Conditions in a Query Design A note about the Criteria conditions: When designing a query, you can use the comparison operators (<, >, =, or <> for not equal to) for numbers, or for text strings as well as other data types. If you are comparing a text string constant, you have to enclose it in double quotes. If you are using a date constant for comparison, you must format the date as M/D/Y enclosed with pound signs (#8/20/98#) Criteria = condition Criteria > condition

Objective 6: Create a form to enter and edit data into a table. Forms Creating a form for a database means you are creating a more graphical interface between you and the database itself. Data can be edited or new records can be added using the form. The quickest way to create a new form is to use the Form Wizard. To Create a Form using the Form Wizard 1. In the Database Ribbon, click the Create tab; 2. Click the More Forms dropdown arrow from the Forms group. 3. Choose Form Wizard from the list in the More Forms dialog box. 4. This starts the Form Wizard To use the Form Wizard 1. Click the Tables/Queries drop down list and select the appropriate table. From the Available Field list, select the fields you wish to add to the form and click either the Add a Field button or the Add all Fields button. Click Next when finished. Select the Table you want to add to the form Select the Fields to add to Form

2. Choose which type of layout you desire for the form by clicking in the radio button in front of the layout type. Click Next when finished. 3. Choose a pre-set graphic style for your form. As you click on the choices from the list on the right, you will see a preview on the left. Click Next when finished. 4. Give your form a title that will make sense to you in the future. Select the Open the form to view or enter information radio button or the Modify the form s design radio button. Click Finish.

Form Window Notice you can scroll through the existing records, make edits, and add new records from the Form window. Any changes made while displaying the form, will also change the table (or query) from which the form was created. You can make adjustments to the form by viewing it in Design view. Each item within the form is called a control, and each control can be edited/resized/reformatted.

Objective 7: Create a report based on information stored in a database. Reports A report is the method used to create a printed version of output from the database. You can create a report to simply show all the records of a table or query, and you can even create label reports. The quickest way to create a report is to use the Report Wizard. To Create a Report using the Report Wizard 1. Click the Create tab 2. Click the Report Wizard button from the Reports group. 3. This starts the Report Wizard. To use the Report Wizard 1. Click the Tables/Queries drop down list and select the appropriate table. Choose the fields you wish to include in the report by highlighting the field, and clicking the Add button. You may include fields from another table or query by changing the item in the Tables/Queries box. Click Next when done. 2. Specify any fields that you wish to have your report grouped by. The grouping will list all records with matching data in that field together. Click Next when done. Select the Table you want to add to the Report Select the Fields to add to Report

3. Select which field(s) you want the report to be sorted by. If you choose multiple fields, then they will be sorted in the order they are entered. Click Next when done. 4. Choose the type of report Layout you desire by selecting the appropriate radio button. The select the appropriate Orientation: Portrait or Landscape radio button. Click Next when done.

5. Choose the style for your report. Click Next when done. 6. Type in a name for your report and click Finish. Your report will be displayed in Print Preview mode. 7. Your report is now ready to be printed. From the Print preview mode, click the Print button 8. You can make adjustments to the report by viewing it in Design View. Each item within the report is called a control, and each control can be edited/resized/reformatted. 9. To close Print Preview, click the Close Print Preview button

Labels Access will allow you to create any type of label that you wish by selecting the label manufacturer and the information to put on those labels. This means that you could create mailing labels, nametags, etc. The process for creating labels is very similar to the regular report wizard. To Create a Label 1. Click the Create tab 2. Click the Labels button from the Reports group. 3. This starts the Labels Wizard. 4. Select the type of labels: manufacturer, unit of measure, and the product type. Click Next. 5. Select your formatting: font, font size, font color, etc. Click Next.

7. Add the fields and any other text you wish to the labels. Click Next. 8. If necessary choose a field to sort on. Click Next. 9. Give the Labels a name then choose either the See the labels as they will look printed radio button or the Modify the label design radio button. Choose the first option if you wish to print the labels. Then click Finish. Then preview your labels.