Professional Documents
Culture Documents
Training] presents:
Microsoft Office
Access 2003 Training
Part 2: Queries
Limitations of Filters
2. Click on Add.
You can add tables to a query at any time by choosing from the
Query menu Show Table
Access Tutorial - Bayan Ghozlan
Selecting Fields
• Only the fields that are added to the QBE grid will be displayed in the
resulting set.
• Fields can be added from multiple tables as long as there is a
relationship between the two tables.
1. In the Field row of the QBE grid, click on the drop down menu and
choose the field name that you want to add.
2. Click and drag the field that you want to add from the table listing in the
top portion of the screen to the lower portion.
3. Double click on the field name that you want to add from the table
listings; the field should then appear in the right-most column of the QBE
grid. Use any combinations of these methods to add all of the fields to
the query that you wish to include.
• The data set that results from a query can be saved by creating a
new table to hold the data. This is done by creating a Make-Table
query.
• If one exists, it will be deleted (with default settings you will see a warning
dialog window before this happens).
14. Close the query and save it with the name Make Table Test
15. Notice the different icon that this query has. This is because it is an
action query.
17. Open your table and review the contents – it should appear the
same as when you ran the query in step 8
Note: Note that this table you created is a static snapshot of the database –
if you update or add to the original table the query was based on, this
snapshot will not change.
3. In the dialog box, enter the first parameter exactly as it is in the criteria cell
but without the square brackets. The data type of the parameter should
match the data type of the field .
4. Repeat for each parameter in the sequence that you want to be prompted for
and then click OK
Access Tutorial - Bayan Ghozlan
5. Parameter query Cont..
Notes on Parameters:
11. Run the query – you will be prompted to supply a country name.
12. Close the query and save it as CompanyByCountry