Access 2007-2016
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
 
 

< Previous: Access Expert 15

Next: Access Expert 17 >

Access Expert Level 16

Expert Microsoft Access Tutorial - 1 Hour, 19 Minutes
 
 
This Microsoft Access video tutorial picks up where Expert Level 15 left off. In this class we will continue to learn how to use Action Queries. We will start by creating a macro to run multiple queries at once, and we'll learn about make-table and union queries. Topics include:
 
  - Macro to Run Multiple Queries
  - Delete Query on Multiple Tables
  - Referential Integrity with Delete Queries
  - Make Table Queries
  - Backup Table to Another Database
  - Multiple Parent Student Mailings
  - Include Multiple Parents in Mailings
  - UNION Queries
  - Merge New Contacts with Archived Ones

Order Now

If you would like a preview of what's covered in this class,
click here to watch the first and last lessons of this course (free of charge), or scroll down for more information.




 

Access Expert Level 16
Description: Access Expert Level 16
Versions: Recorded with Access 2013. Also use with 2007 and 2010. The lessons on embedded macros are valid for Access 2007 and later only. Access 2003 users should get Access 223.
Pre-Requisites: Access Expert Level 15 strongly recommended
Running Time: 1 Hour, 19 Minutes
Cost: $24.99


This class picks up where Expert Level 15 left off. We are continuing our work with Action Queries. Today we will begin by creating a macro that will run multiple queries at one time, so we can automate the process of archiving our contacts. With one click we can turn warnings off, run the append query, run the delete query, turn warnings back on, and use the MessageBox command to display a "finished" message.

 

Next we'll learn about running delete queries based on multiple tables. For example, you want to delete all of the contacts for customers in a specific state. The records you're deleting are in the contacts table, but the criteria is based on the customer table. How do you handle this?

 

In Lesson 3 we will begin learning about Make Table Queries. These can be used to actually create a new table based on data from another table or query. We will create a customer mailing list table that has only specific customers in it based on specific criteria. Then we will learn how to create a backup of our customer table in a separate database file (real handy for quick backups).

 

Next, we'll deal with a very common problem that I get asked about all the time. You have a table with a child (let's say a school student) with multiple parents who may or may not live together. You need to be able to send separate mailings home to each parent. How do you handle this? I'll show you one technique using a make table query and an append query with two parents, then I'll show you another multi-table solution allowing for unlimited parents.

 

Finally, we'll learn about UNION queries, which allow us to take multiple tables (or other queries) and combine them into a single dataset to look like one query. So far we've split the contacts up so that old contacts get archived in a separate table. What if you want to temporarily put them back together so you can search on the whole set of contacts? That's a good job for a UNION query, a special type of query that can only be created in SQL view.

 

This is the 16th class in the Access Expert series. There's a lot of great material in this class. Learning Action Queries will add tremendous power to your databases. Of course, if you have any questions about whether or not this class is for you, please contact me.
 

 

Complete Outline - Access Expert Level 16

00. Intro (8:25)

01. Macro to Run Multiple Queries (9:21)
Command Button Wizard
Open Query
Delete Queries Not Listed
Archive Contacts Button
Macro Builder
OpenQuery Command
Add New Action
Show All Actions
SetWarnings On/Off
MessageBox Command (MsgBox)

02. Delete Query Multiple Tables (8:56)
Referential Integrity
Delete Queries and Cascade Deletes
Delete Contacts from Customers in CA
Two Queries Needed
Customer By State Query

03. Make Table Queries (16:05)
Create a Customer Mailing List Table
Make Table Query in Same Database
Create a new blank database ACCDB file
Make Table Query into a Different Database
Backup Customer Table
Multi-Valued Fields Not Allowed
Long Text with Append Only Property On
Automated Backup of Contact Table
Include in Command Button Macro
OpenQuery Command
04. Multiple Parent Mailing List (18:25)
Create Student Table with 2 Parents
Include In Mailings Field
Make Table Parent 1
Append Parent 2
Show Another Example Relational
Use a Query with a Join

05. UNION Query (10:30)
Merge Contacts with Archive
Don't use the Union button
UNION SQL statement
Homework Assignment

06. Review (7:25)

 


 
Keywords: Multi Query Macro, Make Table Query, Union Query, microsoft access tutorial, microsoft access tutorial, microsoft access training, access 2007, access 2010, access 2013, macro, command button, delete query, macro builder, openquery, show all actions, add new action, messagebox, setwarnings, make table query, backup to different database, multi-valued fields, mailings to multiple parents, union query, sql
 

You may want to read these articles from the 599CD News:

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP