HOME  |    TRAINING  |   FREE TUTORIALS   |   JOBS
Find out more about our new RSS feed.
FREE Tutorial
USING A SELECT QUERY

CATEGORY
SEARCH OUR OTHER TUTORIALS

DESCRIPTION

In Microsoft Access you can create different views of data using a select query.
Click here to be kept informed of our new Tutorials.


TUTORIAL TAKEN FROM COURSE : MICROSOFT ACCESS 2002 (XP) INTRODUCTION

FULL COURSE DETAILS

MS Access 2002 (XP) is the latest database from Microsoft designed specifically for a graphical environment. This courses is designed to teach the reader to create and update a simple database using the application Microsoft Access 2002. You will learn to add and edit records, create a table and apply basic field properties and to produce simple queries, forms and reports.

TO ACCESS THE FULL COURSE AND HUNDREDS OF OTHERS, CLICK HERE.


On completion of this tutorial, you will be able to:

  • Understand the differences between a query and a sort or filter
  • Create a query using the Simple Query Wizard
  • Add and remove query fields in design view
  • Sort query results
  • Specify criteria in a query

What is a Query?

You can use simple tools such as Filter and Sort to analyse data stored in tables. However, you cannot re-use the "views" created, which are lost when you apply a different filter or sort. Also, you may not want to view all fields in the table at the same time.

A query is a more powerful and flexible way of selecting, filtering and sorting records. A query is created by specifying fields to display from a data source (a table or another query). Typically a query also specifies what data to look for in one or more fields (criteria). When you run a query, Access creates a recordset, essentially a table containing the data matching the criteria you specified. However, unlike a real table, a recordset is not saved as part of the database. Access creates a new recordset each time the query is run. With a query you can:

  • Extract records according to criteria you specify.
  • Choose the fields you want to view in the result.
  • Sort the records in a specific order.
  • Calculate fields and summarise data.

Create a Query Using the Simple Query Wizard

The Simple Query Wizard helps you to select the fields to include in a query.

To create a query using the Query Wizard

  • From the Database Window, select Create query by using wizard then on the Database Window toolbar, click Open

OR

  • From the Insert menu, select Query then in the dialogue box select Simple Query Wizard and click OK

The Simple Query Wizard is started.



The first dialogue box lets you pick a data source for the query and choose which fields you want to use in it.

Note: You must select any fields that you want to display in the query results, fields that you want to set criteria for or fields you want to sort by. You must select at least one field to continue with the wizard.
The choices you make here can be modified later in query design view.

  • Select a data source (table or query) from the Tables/Queries list box
  • Select the fields that you wish to display or use in the query

The four video controls allow you to add and remove fields:



  • Once you have selected the fields that you want to use, click Next >

If you select any numeric fields, you are given the option of producing a Detail (every record) or Summary query.



NEXT PAGE



8 RELATED COURSES AVAILABLE
MICROSOFT ACCESS 2002 (XP) INTRODUCTION
MS Access 2002 (XP) is the latest database from Microsoft designed specifically for a graphical environment. This....
MICROSOFT ACCESS 2002 (XP) INTERMEDIATE
This intensive course will help readers to build on their basic understanding of Microsoft Access 2002, in order ....
MICROSOFT ACCESS 2002 (XP) ADVANCED
To develop a relational database using Microsoft Access. Readers will learn to design databases incorporating dif....
MICROSOFT ACCESS 2002 (XP) PROFESSIONAL
To introduce existing Microsoft Access 2002 users to administrative functions of the application, along with the ....
MICROSOFT ACCESS 2000 INTRODUCTION
MS Access 2000 is the popular database from Microsoft designed specifically for a graphical environment. This cou....
 
1 RELATED JOBS AVAILABLE
DATA ANALYST
Microsoft Office, MS Access and Excel skills essential and any SQL or Crystal reporting skills desirable but not ....
CONTACT US
Sunday 21st March 2010  © COPYRIGHT 2010 - VISUALSOFT