HOME  |    TRAINING  |   FREE TUTORIALS
Find out more about our new RSS feed.
FREE Tutorial
ACCESS 2000 - FILTERING DATA

CATEGORY
SEARCH OUR OTHER TUTORIALS

DESCRIPTION

While sorting information in the datasheet view allows you to apply your own ordering to the display of the records in the table, it can also be useful to filter the table. This allows you to limit the number of records that are visible to a manageable sub-set of the records.


TUTORIAL TAKEN FROM COURSE : MICROSOFT ACCESS 2000 INTRODUCTION

FULL COURSE DETAILS

MS Access 2000 is the popular database from Microsoft designed specifically for a graphical environment. This course is designed to give readers an understanding of some of the major features and functions within Access. An introduction to database theory and practice, plus hints and tips on good database design techniques are also given.

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


To use Filter by Selection

The simplest way of filtering the display of records in a table is use Filter by Selection. This displays only records that have the same value in that field.

  • Display the table in datasheet view
  • Select the value in a particular field that you have chosen as the filter value

Tip: If you select part of a field, then the filter will be based on that partial selection. For example, if you pick 'F' in the third position of a field and filter this by example, then the results will be exactly that - fields that have an 'F' in the third position of that field.

For instance, you might want to display items that for which you have no stock level, or examine the customers where your contact is the owner.

  • On the Standard toolbar, click Filter by Selection

OR

  • From the Records menu, select Filter, then select Filter by Selection

The datasheet is refreshed to display only records that pass the selected filter criteria- you should always get at least one record - the one that you selected for the filter.

You may further limit the records that are displayed by adding to the Filter by Selection.

  • If you select another field from this filter-limited list, and select Filter by Selection once more, the records displayed will be those the match both criteria

It follows that you can add successive filters by example, until the requirements match the criteria that you require.

To re-display all records

Once a filter is in place, you may want to display all records from the table. If the filter that you have created is complex, Access allows you to 'toggle' the display of records between all records and the filter that you have created.

Once you have set a filter, the Apply Filter button provides you with the ability to toggle the display between the filter that you have created, and displaying all records.

  • On the Standard toolbar, click Apply Filter to toggle between filtered records and all records

Tip: This button can also be used to turn off the filter when you have finished using it.

Using Advanced Filters

While Filter by Selection allows you to filter on exact values, it is often necessary to filter the information in your datasheet by a range of values. Access provides an option to Filter by Form. Filter by Form uses a blank record that you can type an example of the data by which you wish to filter into.

You may also use calculated expressions as a basis of the filter that you wish to display. As well as matching the filter value to the field, you can use different operators to create more sophisticated filters. Some of the more common operators are explained in the table below.

For more examples of expressions that you can create, consult the Access help screens.

It should be noted that if you fill in more than one column with a filter expression, then the expressions must all be true for the record to be displayed (sometimes known as 'AND-ing').

Access also allows you to 'OR' several fields together, using the OR tab at the bottom of the filter by example window.

When you select the OR tab, another blank record is displayed at the top of the window, and you may fill in additional criteria for your filter.

Continued...


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....
CONTACT US
Tuesday 22nd May 2012  © COPYRIGHT 2012 - website design by Website Design by Visualsoft