599CD.com Access Imaging Seminar Done   Collapse Menus
 
 
NEW Courses - Access Imaging, Excel 2007 Level 5 dismiss
 
   
 

What's New?  |  Courses  |  Theater  |  Demo  |  Tips  |  Blog  |  Forums  |  Search  |  Help  |  Order

 
What do you want to learn today? 
 
 
Courses - Microsoft Access 220
Description: Advanced Access Queries, Part 1
Running Time: 65 minutes
Pre-Requisites: Access 207 very strongly recommended
Versions:
We use Access XP in this course, but the lessons are valid for all versions of Access from 95 to 2003. There are cosmetic changes in Access 2007. Order before 3/14/2010 to get a FREE upgrade to our 2007 version when released!
 
Microsoft Access 220
Advanced Access Queries 1

Advanced Query Techniques, Round Values, Form Footer Totals, Inner & Outer Joins, Cascade Deletes. 65 Minutes.
 

AC220 Major Topics

  • Advanced Query Techniques
  • Round Values
  • Form Footer Totals
  • Inner & Outer Joins
  • Cascade Deletes

This class begins our look at Advanced Query Techniques. We will start by creating a Sales Log system. We'll build a sales log table where we will store basic order information, like unit price, description, quantity, etc.

 

Next, we'll create a Sales Log Query which will use Calculated Fields to figured out the extended price by multiplying the unit price and quantity. We will also learn how to calculate sales tax based on whether or not each sale is taxable - cool stuff, using the IIF() function we learned about earlier. We'll also learn how to round off values inside queries.

 

Next, we'll make a Sales Log Form where you can enter in your sales information, pick your customer from a combo box, and so on. There's a real cool trick on this form - one that people have been emailing me to show them for a while... how to put a Total in the form footer!

 

We'll learn about different types of Query Joins, like Inner and Outer Joins. This is necessary if you want to, for example, get a list of all of your customers with contact history - whether or not they have contacts; or all sales whether or not there is an associated customer record. This is very powerful stuff.

 

We'll also talk a lot more about Global Relationships, Referential Integrity, Cascade Deleting records, and more. This is a great class, and it's just the first in our series of Advanced Query lessons.

 

 

Access 220 Outline
 

1. Sales Log Table
Create SalesLogT
Default SaleDate to =Date()
Setup PaymentMethodT

2. Sales Log Query
Calculated Query Fields
Multiply Two Fields Together
Calculate Extended Price
Mathematical Operators
Add, Subtract, Multiply, Divide
Integer Division
Exponents
Modulo (Modulus)
IIF Function
Determine If Taxable
Calculate Order Total
Query Field Properties
Round Function
Rounding Field Values

3. Sales Log Form, Part 1
Copy Customer Combo from ContactF
Bring in Calculated Fields from Query
Continuous Forms
Form Header and Footer
Move Labels to Header
Horizontal Line

4. Sales Log Form, Part 2
Create an Order Total in the Form Footer
SUM Function in Footer Field
Totals with Filters On
Show Sales for Specific Customer
Open a Form and Show Specific Records

5. Query Join Types
Only include rows where the joined fields from both tables are equal
Inner Join
Include ALL records from Table1 and matching fields from Table2
Outer Join
Show ALL Customers and Sales if they have them
Show ALL Sales and Customers if listed

6. Global Relationships
Enforce Referential Integrity
Cascade Delete
Tools > Relationships
Why I don't often use Global Relationships

 


Try a FREE Demo Lesson

 
 

Huge Discounts Available
When you purchase multiple classes together
Huge savings up to 50% off! Order Now.
 

Student Interaction: Microsoft Access 220

Richard on 1/1/2007:  Advanced Query Techniques, Part 1 of 4. Sales Log Query, Calculated Fields in Queries, Totals in Form Footers, Join Types (Inner & Outer), Cascade Deletes
Greg Paradise on 2/25/2009: I'm glad to see you use a different color background:0 Dark grey is cool...almost black.
 
 

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

 

 

Need Help
 
Do you have questions about Word, Excel, Access, Web Design, or computers in general? Just ask us anything you'd like. Click here for assistance.
 

Get Free Tips & Tricks
 

Join our mailing list today and get information on our Free Tips & Tricks Newsletter including free video tutorials, eBooks, live seminars, and more.

Email:
Name:
Type in the word to the left:
 
Your email will be kept 100% safe and will never be given to 3rd parties.
 


CLICK HERE for a FREE lesson



Order your first 599CD course now.
Your Satisfaction is Guaranteed!


Subscribe to our RSS FeedWhat's This?

599CD on Facebook  599CD on Twitter  Subscribe to RSS Feed  Add to Live Bookmarks  Add to My AOL  Add to MyYahoo  Add to Google Reader or Homepage    hide help

599CD Home   |   Learn More   |   What's New?   |   Contact Us   |   Free Demo   |   FAQs   |   Order Now   |   Affiliate Program   |   TechHelp   |   MYOLP   |   Jobs   |   Downloads   |   Handbooks  (Text)   |    Mailing List   |   Lost Passwords   |   Referral Program   |   Online Poll   |   Corporate, Educational, Government, Non-Profit Sales   |   Message Forums   |   Testimonials   |   Privacy Policy   |   Free Gift CDs   |   Tips & Tricks

 
 

What's New  |  Home  |  Courses  |  Demo  |  Learn More  |  Contact  |  Order