Affiliates

Amazon.com


Popular Microsoft Access Books

Building Microsoft Access Applications
Building Microsoft Access Applications
Author: John L. Viescas 

Access 2003 All-in-One Desk Reference for Dummies
Access 2003 All-in-One Desk Reference for Dummies
Author: Alan Simpson 

Access 2003 for Dummies
Access 2003 for Dummies
Author: John Kaufeld 

Office 2007 All-in-One Desk Reference For Dummies
Office 2007 All-in-One Desk Reference For Dummies
Author: Peter Weverka 

Microsoft Office Access 2003 Step by Step
Microsoft Office Access 2003 Step by Step
Author: Online Training Solutions Inc. 

Access 2007 Bible
Access 2007 Bible
Author: Michael R. Groh 

Microsoft Office Access
Microsoft Office Access
Author: Steve Lambert 

Beginning Access 2003 VBA
Beginning Access 2003 VBA
Author: Denise M. Gosnell 

Microsoft Office Access 2003
Microsoft Office Access 2003
Author: Gary B. Shelly, Thomas J. Cashman.... 

Popular MS Access Related Websites

Microsoft Corporation 













Microsoft Access 2007 Tutorials for beginners    

Welcome to MS Tips and Tricks
Welcome to MS Tips and Tricks - You are at the right place if you need tutorials for beginners - Online Microsoft Access tutorials for beginners, covering the following categories - Databases, Customization, Table, Forms, Queries, Reports, etc.,

  Microsoft Access Tips and Tricks for beginners
Queries in Microsoft Access  
 
Written by Sabina  
Thursday, 05 June 2008
Category MS Access - Data, Relations, Queries, Misc.  
 
Although many people use Microsoft Access to create and manage relatively small databases, this software is more powerful than one might think at first sight. It is a relatively easy to use software that allows users to create and manage quite complex databases, as well as offering a series of powerful administration tools.
 
When using Queries in Microsoft Access, the programs selects records from one or more tables from a given database so these records can be viewed analyzed or sorted on one single datasheet. Using this function Microsoft Access creates dynaset, or a collection of records, which will be saved as a database object for future use. The good thing is that this dynaset (which stands for dynamic subset) is updated automatically when you save and update the original tables, easing greatly your working experience with Microsoft Access. There are several types of queries in Access: select queries (they will get the data from multiple tables based on values specified by the user), find duplicates (these queries will display records that contain duplicated values for a specified field) and find unmatched (this query type shows all the records from one table that do not have any corresponding value in another table). You can create a query in Microsoft Access in Design View. Go to the Queries page that you will find on the Database Window and click the New button. From the list found in the dialog box select Design View and next click OK. Now you have to select tables and other queries from the Tables and Queries tabs displayed by the program. Next click Add to add each one to the new query. After you have selected all the desired tables and queries, click the Close button. By double clicking the field name in the table boxes (or by selecting the field from the Field: and Table: menus in the query form) add the fields from the tables to the new created query. In the Query dialog window, you will see a tab called Criteria. In this field, enter the desired criteria for the new query.
 
You should know that Microsoft Access allows the use of query wildcards and arithmetic operators (for example, you can write this <100 wildcard for values under 100, the like “c*” to find all the words in the fields that start with the letter c). If you are new to Microsoft Access, you can use the Query Wizard to have specialized assistance when creating the desired query. You will find the Create query by using wizard icon in the database window and you can click on it to start the program’s included wizard. Select the fields that will be included in the query from the first dialog window that appears when staring the wizard. You can also select the table to search in from the menu entitled Tables//Queries. You can select the desired fields by clicking the “>” button. If you want to include all the fields in the query, then click the “>>” button in the wizard’s dialog window. After you have selected all the desired fields, click the Next button. All you have to do now is to name the newly created query and click Finish.
 
You can also use the Query function to filter out records that have duplicated values. First you will have to create a new query so you can find these duplicated values (create a new Find Duplicates Query Wizards query by clicking the New button and selecting that option from the list). Next, you will have to select the tables in which this Query function will find the duplicated entries. Use the list of tables and queries in the dialog window and then click Next. By clicking the “>” button you can select and move the fields that may contain duplicate values. The nest step is to select the fields that should appear in the new query along with the fields selected earlier.
 

 
Advertisement



Advertisement



Copyright © MS Tips and Tricks
A Division of Gurijala and Company, 2006
Home - Tips and Tricks - Resources - Links - Contact - Site Map - Privacy Policy - Email Webmaster