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 
need help with database setup
Michelle Fournet 

3 years ago
Is anyone willing to comment on my initial setup. I feel I am doing something fundamentally wrong with my tables. I am trying to set up a database to track students and the courses they take. Many students to many courses. Please look at attached screenshot if you can help.
Michelle Fournet OP  @Reply  

3 years ago

Scott Axton  @Reply  
        
3 years ago
Michelle
Kind of tiny on my screen but it looks to be OK with the exception that I'm not seeing a junction between the Student and the course.  Take a look at the Event Enrollment video.

Your course is the basically the Event.  This shows how to set up the relationships.  It also allows for max enrollment and payments.  I think this will really get you down the road.
Adam Schwanz  @Reply  
           
3 years ago
Looks like the middle table is a junction table. Only thing I see really that I would change is making field names with the # symbol. You're at best going to have to put brackets around those fields when you refer to them later in code, at worst they could become a major headache. I would change all the # signs to Num or Number, NumCertificates for example.

The way it's setup now looks like it would only allow one payment into each course. If someone made a split payment or multiple payments you wouldn't be able to track that from what I see here. If that's a problem you'd want to setup another table for payments.
Scott Axton  @Reply  
        
3 years ago
Good catch Adam.  # definitely an issue.  As I said - tiny screen.
Michelle - the video I pointed you to above will show how to take payments in the extended cut.
Paul Kiener  @Reply  
      
3 years ago
I'm just a beginner here, and may need an explanation as to what I see:  (1) why is "CourseDetailsID" in the StudentsT?  I don't think it's necessary.  (2)  Why is "StudentID" in the CourseDetailsT?  Again I don't think it's necessary.  The many-to-many relationships will "happen" with the Students_CourseDetailsT, would it not?

Again, I'm just learning and want to learn more.  Hope I have not caused any unnecessary confusion.
Adam Schwanz  @Reply  
           
3 years ago
Good catch Paul, you do not need them in the single tables. Unless it was something like you wanted to store a "homeroom" class for the students with the courseID or a "favorite student" in the courses with the studentID haha. These would be a one to one relationship so they don't do anything for the many to many relationship.
Michelle Fournet OP  @Reply  

3 years ago
Thank you all for the good tips.

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 10:21:14 PM. PLT: 1s