Computer Learning Zone CLZ Access Excel Word Windows

Sometimes, the only thing more dangerous than a question is an answer.

-208th Rule of Acquisition
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Employee Training Database
Guest User 

6 months ago
I followed Richard's great video to create the MS Access Employee Training database.  Around video 5 he created the EmployeeCourseSubF (form) and it appears I missed something.  When I have an a new employee and haven't assigned any roles, the EmployeeCourseSubF form still shows all the available courses, even though the employee doesn't have a role yet.  I'm thinking the data source (EmployeeXCourseT) is either incorrect or the datasource for the "Course" field is incorrect.  It points to the course table, but I'm thinking it should point to a query.  Thanks for any help.
Raymond Spornhauer  @Reply  
          
6 months ago
Without seeing how you have this setup, we can't help.

I would suggest following along with Rick's video from start to finish and make sure you don't miss any steps.

-Raymond
Danny Chin OP  @Reply  

6 months ago
In Richard's database, each employee has one-to-many roles.  The roles have one-to-many courses to take. In his video, the main form has the employee id, name, etc. and two subforms, one for the roles the employee has, and another subform that shows the courses based on the employee's roles.  The role subform uses a query to list the roles the employee has based on their employee id. The role subform seems to work correctly since it shows roles only the roles that have been assigned to that particular employee.  However, the courses subform appears to be listing the same courses for all employees, regardless if they have no roles yes or some roles.  I expect the course subform to show no courses if the employee has not roles assigned.  I don't know if this would help, the recordsource used for the course subform is a table named EmployeeXCourseT which only has courses for one employeeID.  For the detail rows of the course subform, the control source is CourseID and the row source is a table named CourseT which only contains all the courses.  That's where I think something is amiss.  Richard's video shows that same configuration. My question - if the recordsource for the subform doesn't have any values matching the employee id, why would we use a different table (courseT) to the rows?  I've double/triple checked against Richard's video (episodes 4 and 5) and I'm pretty sure, but not 100%, that I didn't miss anything.  I'll check again, though. :)  Thanks.
Raymond Spornhauer  @Reply  
          
6 months ago
@0[Danny-Chin]

Without seeing what you have... I can only guess:

It sounds like you don't have the Master and Child Fields setup in the second subform.  

Click on the SubForm, make sure the SubForm is selected, then in your Properties, look at the Data Tab and ensure the Master and Child Fields Primary and Foreign Keys are correct.

-Raymond

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor Forum.
 

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: 4/30/2026 6:53:27 PM. PLT: 0s