Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Expert 16    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Append Query with No Student Id
David Kennedy 
   
10 days ago
In lesson 4 Richard gave two methods of appending parents of students whom are included for mailing. The latter better method used a seperate table for the students parents where parent id associated with a student foreign key id related back to student id in students table. These two tables were then used as the basis for a mailing list query using student id from student table for linking purposes.. This makes sense in my understanding as it distinguishes entries where students and their parents might share same names as other students and parents and what if two students share same name as well as their parents - highly unlikely - but not impossible but in  the first method Richard used having just the one table for students and their parents i noticed no id field used in query, not even student id - could this cause confusion when query runs, could there even be a danger of duplicate records.
Raymond Spornhauer  @Reply  
          
9 days ago
In example 1, Rick used 1 Table which tracked the StudentID with the associated Parent in the same table.

In this example, the query was used to append a temporary table that you would use for the mailing list, which will not need the ID field as this is just a temporary table.  (This is just a basic example which works with the skills you have learned so far.)  This is not how most of your queries and tables will be setup in the future, but there are times it's useful to use a temporary table to simply reports.

In example 2 (the better way of setting this up), He used one Table with StudentID and a second Table with ParentID and StudentID.  This is the correct way of setting this up.  Keep in mind, he's using the terms 'Student' and 'Parent', but in database design, you need to understand what a 'parent record' and 'child record' is.  (this does not mean family members)  This is getting into Relational Data, the key to understanding the power of Access.

Hope this helps,

-Raymond
Raymond Spornhauer  @Reply  
          
9 days ago
The problem with Example 1, is one StudentID can only have one Parent (in Ricks example)... or the the number of fields you put in that table.

In example 2, with StudentID in one table and ParentID in another table, you have have as many 'child records' as you want.  And Access will maintain the relationship for you.  This way you don't have tons of empty fields in your database, or not enough fields when you need more.

-Raymond
Add a Reply Upload an Image
Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/30/2026 8:10:00 AM. PLT: 1s