Query Design View To create an Access query, you use the Query Design window. Youspecify a few data sources and fields, add a criteria expression or two,and.

Slides:



Advertisements
Similar presentations
Access Lesson 2 Creating a Database
Advertisements

Access Tutorial 3 Maintaining and Querying a Database
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Access Tutorial 7 Creating Custom Reports
Access Tutorial 3 Maintaining and Querying a Database
Pasewark & Pasewark 1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2007: Introductory.
Access Lesson 4 Creating and Modifying Forms
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.
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.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Creating Custom Reports. Objectives View, filter, and copy report information in Report view Modify a report in Layout view Modify a report in Design.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
® Microsoft Access 2010 Tutorial 7 Creating Custom Reports.
1 Access Lesson 4 Creating and Modifying Forms Microsoft Office 2010 Introductory.
Microsoft Access 2010 Building and Using Queries.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
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.
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.
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
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.
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 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
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.
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.
Working with Data Blocks and Frames
Microsoft Office Access 2010 Lab 3
MS Access Forms, Queries, Reports Matt Martin
Microsoft Access 2016 Simplify Data Entry with Forms
Access Maintaining and Querying a Database
Microsoft Access 2013 Bobby Wan.
Microsoft Office Access 2010 Lab 2
Lesson 23 Managing and Reporting Database Information
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Tutorial 3 Maintaining and Querying a Database
AC C E S S DATA B A S E T U TO R I A L
Plug-In T7: Problem Solving Using Access 2007
GO! with Microsoft Office 2016
Microsoft Official Academic Course, Microsoft Access 2013
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
Building and Using Queries
Creating Custom Reports
Tutorial 4 Creating Forms and Reports
Access Tutorial 7 Creating Custom Reports
Microsoft Office Access 2003
Database Applications – Microsoft Access
Tutorial 3 – Querying a Database
CIS16 Application Programming with Visual Basic
Microsoft Office Access 2003
Chapter 1 Databases and Database Objects: An Introduction
Exploring Microsoft Office Access 2010
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 7 Creating Custom Reports
Assignment 3 Querying and Maintaining a Database
Presentation transcript:

Query Design View To create an Access query, you use the Query Design window. Youspecify a few data sources and fields, add a criteria expression or two,and perhaps specify a sort order. What you might not realize is that there'smore to working in this window than just creating a query.

STATUS FIELD - STATUS TABLE - TABLE-01 SORT - SHOW - CRITERIA - MR, MISS,MRS. 

DATE OF BIRTH FIELD - DATE OF BIRTH TABLE - TABLE-01 SORT - SHOW - CRITERIA - <10/02/2010, 

10/02/2010, <=10/02/2010, >10/02/2010, >=10/02/2010, NOT<10/02/2010, NOT>10/02/2010.

NAME FIELD - NAME TABLE - TABLE-01 SORT - SHOW - CRITERIA - LIKE”[A-F]*”/[NAME]>=“A” AND [NAME]<=“F” LIKE ”A*” LIKE ”K*”, LIKE ”*ASF*” 

SALARY FIELD - SALARY TABLE - TABLE-01 SORT - SHOW - CRITERIA - >=5000, <5000 

Total:[Tamil]+[Maths]+[Science]

Pass/Fail

MS Access: iif Function In Access, the iif function returns one value if a specified condition evaluates to TRUE, or another value if it evaluates to FALSE. The syntax for the iif function is: iif ( condition, value_if_true, value_if_false ) condition is the value that you want to test. value_if_true is the value that is returned if condition evaluates to TRUE. value_if_false is the value that is return if condition evaluates to FALSE.

Marks-Grade 100 – 85 “A” 84 - 75 “B” 74 – 65 “C” 64 – 55 “D” 54 – 35 “S” 34 – 00 “W” IIF([MARKS]>=85,”A”, IIF([MARKS]>=75,”B”, IIF([MARKS]>=65,”C”, IIF([MARKS]>=55,”D”, IIF([MARKS]>=35,”S”,”W”)))))

In this example, if the [Time Out] field is less than or equal to 12 o'clock noon, then the iif function will return the number of hours that have elapsed between [Time Out] and [Time In]. If [Time Out] is greater than 12 o'clock noon, then the iif function will return subtract 30 minutes from the time worked.

In the example above, the iif function will return "Yes" if both the ContactTitle = "Owner" and City = "Madrid". If one or both of these conditions is not met, it will return "No".

Query Wizard A query is a way to view, analyze, or organize your records. You can also make some kinds of changes using a query, like deleting or updating a group of records. The Access query wizard makes it very easy to create simple queries. It walks you through most of the choices that you need to make. Afterwards, you can use the Query Design View to add sorting and criteria.

Form in access 2007 A form in Access 2007 is a database object used to display, edit and enter data from a data source such as a query or table.

Form design Form design in Microsoft Access and user interface design in general are important components of all interactive database management systems.  Microsoft Access form developers have a nearly infinite combination of fonts, colors and layouts from which to choose.

Create attractive databases with the essential features any Access application needs in minutes, without becoming an expert in Visual Basic. Configurable menu layouts, color schemes, and advanced features make UI Builder a must-have for every Access user.

criteria When constructing a query or a filter, you need to tell Access what to look for in each field. You do this by defining criteria - typing something (an "expression") into the Criteria cell of the query or filter grid. If you do not define any criteria for a particular field

A flexible search form provides several boxes where a user can enter criteria. An efficient search form creates the criteria from only those boxes where the user enters a value.

Result: IIF([total]>=200,"pass","fail")

Using the Forms Wizard in Access 2007 The Form Wizard in Access will step you through the process of creating customised forms. You'll find these custom forms to be far more useful than the basic pre-defined forms the program provides. To start the Forms Wizard, choose the table or query you want to use for your form from the Navigation pane. Click Create > Forms > More Forms. This will bring up the first dialogue box of the Forms Wizard.

100 – 85 “A” 84 - 75 “B” 74 – 65 “C” 64 – 55 “D” 54 – 35 “S” 34 – 00 “W”

What is a Form Wizard. Access provides several quick-create form tools on the Create tab, each of which lets you create a form with a single click. However, if you want to be more selective about what fields appear on the form, you can use the Form Wizard instead. The wizard also lets you define how the data is grouped and sorted, and you can use fields from more than one table or query (provided that you specified the relationships between the tables and queries beforehand).