WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 5201: Data Management and Statistical Analysis Akm Saiful.

Slides:



Advertisements
Similar presentations
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Chapter 5 Creating, Sorting, and Querying a Table
Microsoft Access 2003 Introduction To Microsoft Access 2003.
WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 5201: Data Management and Statistical Analysis Akm Saiful.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Chapter 2 Querying a Database
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Working with a Database
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Introducing Access Lesson 1. Objectives Start Access and explore the Database window Explore database objects Enter, edit, and delete records in a datasheet.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
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 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Microsoft Access 2010 Chapter 10 Administering a Database System.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Office 2013 Access Creating a Database.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
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.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
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.
Microsoft Access 2000 Modifying Tables, Creating Forms and Viewing Data.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Creating Advanced Queries and Enhancing Table Design.
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.
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.
Access Test Questions Test Date: 05/05/16. Chapter 1 (Lynda.com) Question 1 An access database uses five main components (database objects). Which is.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Creating a Database
Access Creating a Database
Tutorial 1 – Introduction To Microsoft Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Microsoft Office Access 2003
Introduction to Access
Microsoft Office Illustrated Introductory, Windows XP Edition
Access Test Questions Test Date: 05/05/16.
Microsoft Office Illustrated Introductory, Windows XP Edition
New Perspectives on Microsoft
Presentation transcript:

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 5201: Data Management and Statistical Analysis Akm Saiful Islam Lab-1: Microsoft Access Database June, 2008 Institute of Water and Flood Management (IWFM) Bangladesh University of Engineering and Technology (BUET)

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Objectives Explore benefits of using a database Understand basic Access components  tables, queries, forms and reports Know sources of data at WWU WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Benefits of Using A Database Data Integrity  Consistent entries  Data validation rules Ease of data entry with forms Minimize duplicate data entry Easy Reporting WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Caution Designing a database takes time and technical knowledge WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Access Components TableThe primary data storage unit in Access. Tables are used to input and display information. Fields of information are arranged in columns. There is one row for each record. QueryQueries gather specific data from one or more tables. The data can be displayed in a table, form, or report. FormForms are used to input and display information from tables or queries. They can be arranged for efficient work and can include special objects, such as drop-down lists and check boxes. ReportReports display information from a table or query. Data can be grouped and summarized, including calculated totals and subtotals. MacrosAutomate tasks you perform repeatedly with the need of programming ModulesStores Access Basic Programming Code for custom program enhancements. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Creating a database Name the file - Access automatically saves data as it is entered, so a file name must be established before working in the database. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Tables Tables are the backbone of a database. All the fields in a table should be closely related The table design is the arrangement of fields - it is saved with the save command A table can have up to 256 fields (columns) The table data is the information typed into the fields - it is saved as each entry is completed a primary key field with a unique value is useful when establishing relationships between tables. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Creating A Table On the table tab,  Click the New button  Choose a new table option WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Table Design add and delete fields edit field names set field properties. use F1 for help WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Table Fields Each record (row) has the same fields (columns) with the same properties Up to 256 fields (columns) in a table. Fields contain the smallest amount of information that you will need: for example, FirstName and LastName fields instead of a single Name field. A field name can contain up 64 characters. It is best to avoid special characters and spaces. A primary key field is used to help identify records. It must be a unique value for each record and is useful when establishing relationships between tables. The toolbar provides shortcuts for some of the most common the design tasks. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Access Data Types Data TypeDescription TextData entries that will not be calculated-including data containing numbers such as zip codes, phone numbers or order numbers. A maximum of 255 characters. MemoUse for comments or notes. Can be up to 32,000 characters (about 8 single-spaced pages). NumberNumerical data that will (or can) be calculated Date/TimeDate and time information CurrencyMonetary values AutoNumberAutomatically counts entries, incrementing as you enter data. Each entry will be unique. Yes/NoUse for Yes/No, True/False and On/Off options OLE ObjectA linked object from an external source HyperlinkCreates a “clickable” hyperlink LookUp WizardLets you choose a value from another table or from a list of values WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Naming Conventions Professional database developers use “naming conventions” to help identify database objects tblEmployeeData ortEmployeeData qryBudget orqBudget frmEmployeeData orfEmployeeData rptBudget orrBudget WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Importing Data Data can be imported from many sources. Banner, DataW, BI/Query Excel spreadsheets If data exists, import instead of re-enter 1. File, Get External Data 2. Choose Import or Link 3. Select the file 4. Follow the Import Wizard Prompts WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Use the View button to switch between the Design and Datasheet Views. Switching between views WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Working With Tables When entering data  The pencil shape in the left column indicates that the current changes have not been saved.  New record Ctrl +  Current Date Ctrl ;  Current Time Ctrl :  Sort Ascending or Descending  Find Data  Filter By Selection WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Queries let you easily repeat sort and filter commands let you display and/or print only selected columns connect one or more tables through similar fields create new fields based on calculated values add or remove specific information from tables with action queries WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Create A Query Click the Query tab Click the New button Choose Design View and select the table(s) or queries upon which to base the query Add fields to the “Query by Design” window Run the query WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Query Criteria Criteria on the same line must all be met – “AND” criteria Criteria on different lines will return records that meet any criteria – “OR” criteria Criteria limits the records returned by the query In Queries, OR = More WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Criteria Operators OperatorCondition <less than >greater than =equal to <=less than or equal to >=greater than or equal to <>not equal * asteriskall records - usually used with a leading character, such as B* ?a single character wildcard Betweenselects values between two values Likemust match a pattern - sometimes created by Access from wildcard input nullreturns blank records WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Multiple Table Queries Join tables on common fields One side of the join should be a primary key (displayed in bold)

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Forms Fields can be arranged for easy data entry Input aids  Check boxes  List boxes  Combo boxes  Calculations  Macros WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Creating A Form With a table open  Click the New Object button  Choose AutoForm From the Form tab  Click New  Choose Design View or AutoForm  Select the table or query that contains the data for the form  Click OK WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Navigating with Forms Tab from field to field Click the New Record button to add a record Use navigation bar to move from record to record WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Form Design Click the View button to switch between Form View and Design View  Move Objects  Resize Objects  Format Objects WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Reports Reports are for previewing and printing only – no data entry Reports can group data and perform calculations Reports can be exported to Excel or Word WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Creating A Report Click the Report tab Click New Choose one of the following  Design View  Report Wizard  AutoReport WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Working with Reports Report SectionDescription Report HeaderPrints once at the beginning of the report Page HeaderPrints at the top of each page (including the first page) Group HeaderPrints at the start of each group Detail SectionContains the main body of the report. Prints once for every record included in the report. Group FooterPrints once at the bottom of each group. Sometimes contains formulas for group totals. Page FooterPrints at the bottom of each page. Report FooterPrints once at the end of the report. Often used to contain report totals. WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Sources of Data Data can be imported from  Excel Spreadsheets  Text files WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam

WFM 5201: Data Management and Statistical Analysis © Dr. Akm Saiful IslamDr. Akm Saiful Islam Access Version Compatibility Access 97 can only open Access 97 databases Access 2000 can open Access 97 databases and enter data, however they must be converted to change the database design Access 2002 databases use Access 2000 format by default WFM 6103: hydrologic Information System © Dr. Akm Saiful IslamDr. Akm Saiful Islam