CIS 250 Advanced Computer Applications Introduction to Access.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Prentice Hall. All rights reserved Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Access.
Advertisements

Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Microsoft Access 2003 Introduction To Microsoft Access 2003.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
Querying a Database Microsoft Office Access 2003.
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Chapter 3 Maintaining a Database
Developing Effective Reports
XP Chapter 4 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Collecting Data for Well-Designed Forms Chapter 4 “Making.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
CSS/417 Introduction to Database Management Systems Workshop 2.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Lesson 17 Getting Started with Access Essentials
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
Key Applications Module Lesson 21 — Access Essentials
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/All Programs/Microsoft Office/Microsoft Office.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Intermediate MS Access Instructor: Vicki Weidler Assistant: Adam Cavotta.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
GO! with Microsoft Office 2016
Building a User Interface with Forms
Developing Forms and Subforms.
GO! with Microsoft Access 2016
Microsoft Office Access 2003
Microsoft Office Access 2003
Presentation transcript:

CIS 250 Advanced Computer Applications Introduction to Access

University of South Alabama - CIS 2502 Basic Database Terms Field – most basic unit of information in a database; a characteristic of an entity (ex: last name, SSN, birth date) Record – set of related fields; all of the information relating to a single entity is contained in a record Table – collection of records; storage unit in a database, holding information about a group of entities

University of South Alabama - CIS 2503 Table Organization Tables are organized in a spreadsheet- like format Columns correspond to fields Rows correspond to records

University of South Alabama - CIS 2504 Example of Poor Data Storage

University of South Alabama - CIS 2505 A Better Solution…

University of South Alabama - CIS 2506 Access Objects Tables – storage unit of the database Queries – tool used to select data from one or more tables based on user-specified criteria Forms – created to display information from one or more tables; used for adding, editing or viewing; based on table or query Reports – used to output meaningful information from the database

University of South Alabama - CIS 2507 Additional Access Objects Data Access Pages – used to display information from the database in a web page Macros – created to automate common repetitive database tasks such as opening forms or printing reports Modules – created to add additional program code for specific database functions such as event procedures to control behavior of forms and reports and provide responses to user actions

University of South Alabama - CIS 2508 Planning Your Database 1. Define your purpose: information to be stored; tasks to be accomplished 2. Plan tables and fields: specify what is to be stored and how data is related; identify and limit duplicated data 3. Plan queries and reorganize data: see if any required data was missed; identify any calculations

University of South Alabama - CIS 2509 Planning Steps (cont) 4. Plan forms, pages, and reports: evaluate meaningful information to be extracted; helps ensure all required information has been captured 5. Create the database objects: create tables, add records and organize them; create forms, queries, pages, and reports

University of South Alabama - CIS Building Your Database Must create the database before objects Two methods Blank Database – you must specify everything Template – default objects are already created Asset Tracking, Contact Management, Inventory, Expenses, etc.

University of South Alabama - CIS Creating Objects - Tables Next step is to create tables Based on database dictionary design from planning phase Tables are designed to hold specific information Ex: employee data, student profile information Primary key – unique identifier for a record Not required, but strongly recommended

University of South Alabama - CIS Primary Keys and Foreign Keys Primary key is created during table design If not specified, Access will ask if you wish to create one when table is saved In a relational database, some redundancy is necessary to establish a relationship or an association between two tables Relationships are established through the use of foreign keys – a field that corresponds to a field in another table; not explicit – defined through relationship

University of South Alabama - CIS Creating Tables Fields are defined based on data dictionary Three methods for creating tables: Design view – manually specify all fields and field elements Table Wizard – guides you through the process Import data – table is structured based on data that is imported Each field must have a field name and data type

University of South Alabama - CIS Data Types The data type defines what type of information is to be stored in the field Valid data types include text, number, currency, Yes/No, date/time, memo, autonumber, etc Note: calculated is not a valid data type Default data type is Text

University of South Alabama - CIS Inputting Data Data may be typed in manually through Datasheet View May create a form to display blank fields for data input AutoForm tool – automatically generates form based on table structure May import data from several formats

University of South Alabama - CIS Manipulating Table Data There are several ways to view and sort data From datasheet view, we may wish to display data in a different order Sort allows you to reorder all records: ascending or descending We may only wish to display a subset of records based on a set of criteria Filter by Selection, Filter by Form

University of South Alabama - CIS Filter by Selection and Filter by Form Filter by Selection - Allows you to select all records containing data matching values that appear in the same field as the selected field; based on only one criterion Filter by Form – Allows you to select records by specifying a value in one or more form fields meeting the specified criteria You may save filters as queries for later use

University of South Alabama - CIS Compact and Repair Database may become fragmented Compact and Repair is used to correct those problems as well as resize the database and improve performance Tools, Database Utilities, Compact and Repair

University of South Alabama - CIS Lookup Fields Lookup field – used to access values from a list or from a field in another table Allows user to pick from available options instead of manually inputting information Provide data integrity by reducing data entry errors Create through use of Lookup Wizard when creating a field in your table

University of South Alabama - CIS Relationships A relationship is a logical link between two tables The parent table is the main table in the relationship The child table is the related table

University of South Alabama - CIS Types of Relationships One-to-one – Each record in Table A has only one matching record in Table B and vice versa. One-to-many – This is the most common relationship, where a record in Table A may have multiple records in Table B. However, a record in Table B can have only one record in Table A. Many-to-many – A record in Table A may have many records in Table B and a record in Table B may have many matching records in Table C. This is essentially two one-to-many relationships and is accomplished through use of a junction table.

University of South Alabama - CIS Establishing Relationships Relationships are established through Tools, Relationships This creates a permanent link between the tables Transient links are often used in queries to establish a temporary link

University of South Alabama - CIS Referential Integrity Establishing referential integrity enforces that all child records will have a corresponding parent record When referential integrity is enforced, Access also ensures that relationships are valid Both fields must be of the same data type or referential integrity cannot be enforced Note: this does not prevent an invalid relationship from being created

University of South Alabama - CIS A more complex example

University of South Alabama - CIS Controlling Data Input To ensure the integrity of the data in the database, we can control user input Input Masks – specifies how data is entered and displayed Validation Rule – specifies requirements for data entered Validation Text – used to prompt the user how the data should be entered to be valid These may be specified through the field properties in the table field definition

University of South Alabama - CIS Queries One goal of a database is to allow the user to extract meaningful information A query allows you to view, change, and analyze data based on one or more criteria Similar to a filter, but more advanced Can be stored and will display the current data subset specified upon execution May display information from one or more tables

University of South Alabama - CIS Creating Queries Design View – user manually specifies everything Query Wizard Simple Query Wizard – creates a query based on questions presented in dialog boxes. This query option only pulls data from specific fields in a single table. Crosstab Query Wizard – displays data in a compact, spreadsheet-like format

University of South Alabama - CIS Queries (cont) Queries can be saved and run at any time Can be modified and renamed Query design options: Sort – controls sort order: ascending or descending Show – determine whether a field is displayed in results Criteria – specify criterion record should satisfy to be displayed (or not displayed)

University of South Alabama - CIS Query Criterion May use relational operators, =, =, <> Equal to is default Logical operators AND, NOT, OR Nested operators Other: is, like, in, between, null, is not null May also use Expression Builder to perform calculations

University of South Alabama - CIS Forms Used for data input and display May contain data in table or query Created manually through Design View May use Form Wizard to step you through process Additional formatting controls and utilities may be used to ensure data integrity

University of South Alabama - CIS Controls All information and objects on a form are contained in controls Display data, perform actions, or aesthetics Bound controls – associated with a particular field in a table (e.g. text box displaying a last name) Unbound controls – not linked to a field in a table (e.g. a picture, line around a group of text boxes, label) Calculated controls – use an expression as the source of data

University of South Alabama - CIS List Boxes, Combo Boxes, and Drop- Down List Boxes List boxes – used to display a list at all times Limited to set of alternatives in list Combo box – list box that is not displayed until opened by user; uses less room on form; user may specify additional data values Drop-down list box – same as combo box, but user is limited to only the set of alternatives in the list. Created by specifying Limit to List option

University of South Alabama - CIS Additional Formatting Conditional Formatting – control output based on criteria Used to draw attention to field contents (e.g. displaying all amounts due over $250 in red)

University of South Alabama - CIS Form Sections Form Headers and Footers may be used to display titles, graphics, or other items at top/bottom of form page Background colors and other common elements may also be modified Detail section contains data stored in table records

University of South Alabama - CIS Subforms Used to show information from related tables Requires relationship to already be established May use SubForm Wizard to create a subform control Useful when displaying detail records relating to a parent record (e.g. expense detail record, employee timecard record)

University of South Alabama - CIS Creating and Modifying Reports Create manually through Design View Form Wizard – prompts for table/field info, grouping levels, layout, etc. If using a query, query must be created first Just as with Form controls, report controls are either bound, unbound, or calculated

University of South Alabama - CIS Parts of Report Layout Report Header Band – only displayed on first page; displays the report name Page Header – info to be displayed on each page of the report; titles of columns and other important information is included in this section Group Header Band – info to be displayed for each group such as a group title Detail band – data from records; info from the table or query

University of South Alabama - CIS Parts of Report Layout (cont) Group Footer band - text and subtotals for a group of records Page Footer – text and data to be placed at bottom of each page such as a date and page number Report Footer – text and data printed at the bottom of the last page in a report; summary info for all groups may be entered in this section

University of South Alabama - CIS Additional Form Controls May create buttons to allow user to perform operations without requiring them to use the toolbars Command buttons to be created: Add a Record, Modify (Save) a Record, Find a Record, Exit (Close) Form Use the Command Button Wizard to create Remember to give your button a meaningful name

University of South Alabama - CIS Menus Menus are basically forms created to allow a user to access your data entry forms and print reports without having to use the toolbar to access those objects Create a blank form, add a title, and create buttons to open each data entry form and to exit the database Again, remember to give your buttons meaningful names

CIS 250 Advanced Computer Applications Introduction to Access