CPSC 203 Introduction to Computers Lab 23 By Jie Gao.

Slides:



Advertisements
Similar presentations
Database Management Using Microsoft Access Xinhua Chen, Ph.D. Chinese Association of Professionals in Science and Technology March 23, 2003.
Advertisements

Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
CPSC 203 Introduction to Computers Lab 23 by Jie Gao.
CPSC 203 Introduction to Computers Lab 33 Jie Gao.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Access Tutorial 3 Maintaining and Querying a Database
Build a database IV: Create queries for a new Access database Overview: Ask your data — create queries It’s time to create queries, one of the most powerful.
Create Forms Lesson 5. Software Orientation Creating Forms A form is a database object –enter, edit, or display data from a table or query Providing.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
Maintaining and Querying a Database Microsoft Access 2010.
CPSC 203 Introduction to Computers Lab 39, 40 by Jie (Jeff) Gao.
Idiots guide to Databases. Creating a table To create a table open up Microsoft Access and open up a new blank database. Next fill in the fields with.
Xin  Syntax ◦ SELECT field1 AS title1, field2 AS title2,... ◦ FROM table1, table2 ◦ WHERE conditions  Make a query that returns all records.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
CPSC 203 Introduction to Computers T43, T46 & T68 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 2 Workshop 3 Queries and Data Access Series Editor Amy Kinser by.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Query – One of the objects in Microsoft Access – It can help users extract data, which meets the criteria defined by them, from a database file. – It must.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
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.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Derek Snow 6/13/2009.  What is Form?  Creating Forms  Form Views  Calculated Controls.
1 After completing this lesson, you will be able to: Create and run a query. Specify criteria in a query. Create a calculated field. Create a multiple-table.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
What are queries? Queries are a way of searching for and compiling data from one or more tables. Running a query is like asking a detailed question of.
1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
CPSC 203 Introduction to Computers Lab 60 By Jie Gao.
Management Information Systems Introduction to Databases Lab Dr. Shankar Sundaresan.
Access Chapter 3-Obtaining Answers to Your Data Questions.
3/18: Microsoft Access Refresher: What is a relational database? Why use a database? Sample database in MS access. –Fields, records, attributes. –Tables,
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
CPSC 203 Introduction to Computers T43, T46 & T68 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
10.1Retrieving a Database File – In the last chapter, we have created a database file and several tables for that database. – In order to view and modify.
CPSC 203 Introduction to Computers Lab 33 by Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Databases Computer Technology. First Record Last Record New Record Previous Record Current Record Next Record Working with Microsoft Access (Database)
Creating Advanced Queries and Enhancing Table Design.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
CPSC 203 Introduction to Computers Lab 39, 40 by Jie (Jeff) Gao.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
When you open Access you can open or import an existing.csv file. Check that it recognises that the fields are separated by commas.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
Larry Reaves October 9, 2013 Day 16: Access Chapter 2 Larry Reaves October 9, 2013.
Microsoft Office Illustrated Fundamentals
Access Maintaining and Querying a Database
Query Functions.
Presentation transcript:

CPSC 203 Introduction to Computers Lab 23 By Jie Gao

3 June 2003CPSC 203 Lab by Jie Gao Queries in Access A query in Access is used to filter records and fields A query in Access is used to filter records and fields Only the fields and records which match the query are returned Only the fields and records which match the query are returned The data in a querys view is from some table The data in a querys view is from some table

3 June 2003CPSC 203 Lab by Jie Gao Create a Query Two ways: Wizard or Design View Two ways: Wizard or Design View Query Wizard can only create simple queries such as select part of the fields to display Query Wizard can only create simple queries such as select part of the fields to display Query Design View provides you the powerful interface to create various queries Query Design View provides you the powerful interface to create various queries

3 June 2003CPSC 203 Lab by Jie Gao Query Design View Select tables which your query is from Select tables which your query is from Select fields or define new fields to display in the query Select fields or define new fields to display in the query Set criteria Set criteria Use the expression builder Use the expression builder =, >,, <, … and, or, … and, or, …

3 June 2003CPSC 203 Lab by Jie Gao Reports in Access A report is an object in Access used to present data in a printed format A report is an object in Access used to present data in a printed format Data presented in a report is more understandable than the original data in tables Data presented in a report is more understandable than the original data in tables You have control over the size and appearance of everything included in a report You have control over the size and appearance of everything included in a report

3 June 2003CPSC 203 Lab by Jie Gao Create a Report Two ways in Access: Wizard or Design view Two ways in Access: Wizard or Design view It is easy to create a report in wizard, but only some predefined format It is easy to create a report in wizard, but only some predefined format Design view is more powerful, you can design the report style by yourself Design view is more powerful, you can design the report style by yourself

3 June 2003CPSC 203 Lab by Jie Gao Using the Report Wizard Select Select Fields to appear in the report Fields to appear in the report How to group the records if you have multiple fields selected How to group the records if you have multiple fields selected How to order the records and summaries How to order the records and summaries Layout Layout Style Style Name Name

3 June 2003CPSC 203 Lab by Jie Gao Using the Report Design View Add fields on it Add fields on it Decide how to group Decide how to group Design headers and footers (report, page, group) Design headers and footers (report, page, group) Set font and size Set font and size Background and colors Background and colors …… ……

3 June 2003CPSC 203 Lab by Jie Gao Create a Good Report Maybe a good way: Maybe a good way: First create in wizard First create in wizard Then modify in design view Then modify in design view Provide sufficient descriptions for the report Provide sufficient descriptions for the report Title Title Date Date Description and comments Description and comments

3 June 2003CPSC 203 Lab by Jie Gao Assignment 3 Create a data table Create a data table Create a columnar form Create a columnar form Create three reports Create three reports You may need to create some queries first to get the data which will appear in the reports You may need to create some queries first to get the data which will appear in the reports Use different fonts and size to make your report better Use different fonts and size to make your report better Deliverable: the three reports Deliverable: the three reports Remember your cover page Remember your cover page