Access 2010
Access 2003
Seminars
Tips & Tricks
Access Forum
Course Index Insider Circle
 
Tutorials   News   Tips   Forums   Help   Logon   Order  
 
 
 
Courses - Microsoft Access 309
Description: Advanced Access
Running Time: 65 minutes
Pre-Requisites: Access 308 very strongly recommended
Previous Lesson: Access 308
Next Lesson: Access 310
Main Topics: Many-to-Many Relationships, Junction Tables, CDATE Function, Date Converstions
Versions: This course is valid for Access 2000 through 2003. If you are using Access 2007 or 2010, you will still benefit from this course. You will find that the concepts are the same, but there are cosmetic differences between the versions.

    

Order before 5/20/2012 to get a FREE upgrade to our Access 2010 version!
Click here for details

 

Access 309 covers two main topics: many-to-many relationships, and date conversions.

So far, the only types of relationships we've learned about have been either one-to-one or one-to-many. One-to-one relationships are used where you have one record related to exactly one other record, like the extended customer information form we made. It shows one additional screen of information for one customer.

A one-to-many relationship is the "traditional" relationship you find in most databases. One customer to many orders. One customer to many contacts. One manufacturer to many products. Etc. Another example would be car owners to vehicles. Each driver might own one or more vehicles, but the vehicles aren't driven by different people. One car owner to many vehicles.



In this class, I'm going to teach you about many-to-many relationships.

 

For example, if you have a fleet of vehicles and different drivers who might drive any car, you might need to be able to assign drivers to vehicles on different dates. This is a many-to-many relationship. Many drivers for many vehicles.

 

This is what you'd use if you want to be able to put a many different customers in MULTIPLE groups... or put a different members in MULTIPLE classifications... or assign a several drivers to MULTIPLE vehicles... or assign a MULTIPLE supervisors to MULTIPLE employees. This type of relationship is extremely powerful.



 

Then, after we study relationships, we're going to work with dates. Dates are often misunderstood in Access. I'm going to teach you about the CDate() conversion function. I'm also going to teach you tricks for dealing with dates that you might import from someone else's database. Perhaps you got a date like "20070910" and you have to convert that to a regular Access date.

 


ACCESS 309 - Course Outline

0. Introduction

1. Relationships Review
One to Many
Many to Many
Cross Reference Tables
DriverXVehicleT

2. Cross Reference Table
Creating the Many-To-Many Relationship
Making a Cross Reference Table
Creating a Group Table for our Customers
CustomerXGroupT
CustomerXGroupQ

3. Group Form
Creating the Group Subform
Many To Many Form

4. Converting Numbers into Dates
Got a field with dates like 990105
Convert with an Update Query to 1/5/99
LEFT, RIGHT, MID functions
Update Query
String Concatenation
Calculated Fields

5. Addendum on Numbers to Dates
What if you have dates with 5 digits?
Using LEFT and LEN functions
CDate() to convert text to dates

 

 

Student Interaction: Microsoft Access 309

Richard on 10/9/2007:  Access 309 covers two main topics: creating MANY-TO-MANY relationships, and converting numbers and text fields to proper Access dates. You can find out more about this class on the Access 309 page. This is going to be the first class that I'm promoting student interaction with. The Amicron Video Player and the 599CD Theater will both have links to this blog post so that students who are taking the course can discuss it. They can post any questions they might have here (as comments) and we can work together interactively as students & teacher. I'm excited! Now, please, post your questions here!
Terry on 10/9/2007: Are many to many relationships the kind that you would use to track members and groups? I have a membership database i'm building with your lessons. I need to be able to put members in multiple groups.
Richard on 10/9/2007: Yes, that is exactly what you would use this for. Many people in multiple groups. Many drivers with multiple cars. Etc.
Twila Mitchell on 11/8/2007: As the database grows, I find myself coming back into old forms (or using them to copy). When in design view, I find it helpful to readily see text boxes that are not visible in form view. I immediately know what's invisible because I made their background color Hot Pink.
Richard Rost on 11/8/2007: Yes, this is an excellent idea. I do this myself from time to time - althought I have to say I don't use hot pink. :)
Margaret Cattarin on 3/14/2009: Access 309 at 05:03
I am following the video step by step to build a survey response form. Everything is great until I change the form properties to the CustomerXGroup Query. Then I lose the star and can't add new records. I change the properties back to the CustomerxGroup table, and the star is back. How to I fix this?
Thanks,
Maggie

Richard Rost on 3/15/2009: Margaret, it sounds like your query has properties that make it non-updateable. Can you open the query directly and add records to it? Make sure your query is exactly the same as mine (download the sample database file from the web site if you need to).
Doris  Taijeron on 10/1/2010: In lesson 3 -Group Form 3:33, following your example to set query criteria in the CustomerID Field to:=Forms!CustomerF!CustomerID, when I run the query, the 'Enter Parameter Value box pops up with the message Forms!CustomerF!CustomerID. I followed all your steps for this lesson. Is there something I'm missing?

Reply from Richard Rost:

That error message usually pops up when something is spelled wrong. Make sure you have it EXACTLY as I have it, and that nothing is spelled wrong. Also check for spaces and punctuation.

 

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

 

 
Learn
 
Microsoft Access
Microsoft Excel
Microsoft Word
Microsoft Windows
Microsoft PowerPoint
Adobe Photoshop
Visual Basic
Active Server Pages
Online Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
WalkThru Tutorials
Free Upgrades
Insider Circle
Info
 
Latest News
New Releases
User Forums
Tips & Tricks
Search Our Site
Waiting List
Production Schedule
Help
 
Live Chat
Customer Support
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Live Chat
General Contact Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Try Us
 
Free Lessons
Online Theater
Mailing List
Course Indexes:   Microsoft Access   Microsoft Excel   Microsoft Word   Microsoft PowerPoint   Visual Basic (VB)   Photoshop   Active Server Pages (ASP)  
Keyword Search Cloud:   What's This?   courses   microsoft access tutorials   vlookup   access   cartesian   excel   dlookup   vba   attendance   access 2007   sql   windows 7   combo box   pivot table   visual basic   test   iif   word   calendar   query   conditional formatting   pivot tables   photoshop   hlookup   access 101   excel 202   excel 2007   student attendance   update query   my account   word 2007   append query   quickbooks   queries   dsum   reports   powerpoint   if   microsoft access   dmax   mail merge   relationships   ms access   access 2010   vb   dcount   subforms   excel 2003   handbooks   html   599cd   combobox   if function   security   microsoft word   after update  
Copyright 2012 by 599CD.com, All Rights Reserved