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 
Subforms and one-to-one relationships
Dave 

16 years ago
I guess I'm intermediate - advanced.

Mostly for layout reasons  I have a form structure that is:
Main form, containing a tabbed layout with 3 subforms, with each tab / subform containing subforms.  The overall form is setup as a one-to-one relationship.  The Main form (parent) primary key is the master-child link to the subform (child) and then the sub-subforms (grandchild) link to the subform primary key with current records limits all around.  

Is that the right structure for the master-child linkage.  Should the grandchild reference the parent primary key directly?  They are really just a cascade.

My issue is that when I create a new record at the parent form level, it is not creating grandchild records.  The relationships are there, as are the master-child links.


Answer from Richard Rost:

I would have to see your database or at least know more about your table structures in order to tell you the best way to set it up.

However, when you have even a simple form/subform relationship, creating a PARENT record does not automatically create a CHILD record.

Take the instance of customers and orders. If you create a new customer record in the parent form, that doesn't not create an order record in the subform.

So your relationships and forms might be set up 100% correct. You just need to create those "grandchild" records yourself. Any kind of "do this automatically" is going to have to be programmed by YOU.

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: 6/10/2026 12:43:24 AM. PLT: 0s