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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Combobox from a Junction Table
David Sovis 
   
2 years ago
I have a many-to-many relationship Tutor Table and a Student Table with a Junction table that "pairs" the Tutors with the student. the relationships are defined by comboboxes on both Tutor and Specialists forms via subforms. This works well. But, what I am stumbling with is I need to use the pairing relationship to drive a combobox that identifies the student on the time and feedback form (driven by a Tempvar for the Tutor's ID). This combobox needs to only show the students paired with the Tutor so the Tutor cannot see the other students not assigned to him. I can create an aggregated list of students, but, I can't sort it so that only the paired students show in the combobox. Any suggestions would be helpful....hopefully, this is my "last hiccup", so to speak...
Adam Schwanz  @Reply  
           
2 years ago
If you're struggling with the Row Source on the combo just go make a query, set the criteria and stuff like you need, confirm it works, and either save and use that query as the row source, or under view go to SQL view and copy that into the Row Source.

David Sovis OP  @Reply  
   
2 years ago

David Sovis OP  @Reply  
   
2 years ago

David Sovis OP  @Reply  
   
2 years ago

David Sovis OP  @Reply  
   
2 years ago
THis is what I have and the list currently shown all students and not showing only students paired with this tutor. I feel like I need a WHERE or HAVING somewhere, not sure where or how to show only the tutor's students...

Thank you so much for looking at this, you guys are the best!
John Davy  @Reply  
         
2 years ago
Are you trying to show the students only for the Tutor (is that Specialist?) ? If so, you will need to use a WHERE to limit your list to only those with that Tutor's ID.
  John
David Sovis OP  @Reply  
   
2 years ago
John, Yes I need to limit the students to only tutors (Specialist) that are assigned. I am not sure where to put the WHERE clause...
David Sovis OP  @Reply  
   
2 years ago
I got it! I was stupidly trying to put the condition it in the wrong place of the expression.  

MY DATABASE IS NOW LAUNCHED (on ADC) and is going through first round user testing. Thank you to everyone on the Access Learning Zone team for all of your mentoring, suggestion and help! You are all awesome!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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: 5/6/2026 6:51:57 AM. PLT: 1s