Microsoft Access
  Home arrow Microsoft Access arrow Page 2 - Getting to Know Microsoft Access, Part 6: ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MICROSOFT ACCESS

Getting to Know Microsoft Access, Part 6: Advanced Queries and SQL
By: Sage Adams
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 18
    2005-01-12

    Table of Contents:
  • Getting to Know Microsoft Access, Part 6: Advanced Queries and SQL
  • AutoLookup Queries
  • Update Queries
  • Delete Queries
  • SQL (Structured Query Language)

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Getting to Know Microsoft Access, Part 6: Advanced Queries and SQL - AutoLookup Queries


    (Page 2 of 5 )

    AutoLookup queries are meant to save time. It works like this: you enter one value into a query and, based on a related table, the query fills in the remaining values for you in the table datasheet. AutoLookup uses two tables with a “one-to-many” relationship between them.

    You create an AutoLookup query by adding two tables to the query design and then dragging the join field from the “many” side to the query grid. Add any other fields to the table you want, except the primary key field from the parent table. Once you’ve created this query it can be used as the basis for other database objects such as forms or reports. An AutoLookup query design looks similar to the following:

    Microsoft Access Part 6: Advanced Queries and SQL

    Action Queries

    Action queries are used to perform data management operations on multiple tables simultaneously. The various types of action queries include: update, append, delete, and make-table queries.

    Update queries make changes to fields in a group of records. Append queries add one or more records from one table to the end of another table. Delete queries delete a group of records from a table. Make-table queries create new tables from data in other tables.

    Before creating any action queries, make copies of the tables you’ll be working with, just in case you accidentally erase something (or everything)!

    More Microsoft Access Articles
    More By Sage Adams


     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway