Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Subform Value
Gary Orros 
     
4 years ago
Hi,

I'm trying to link data from one subform to another and struggling.

When I'm on my customer form I have all the locks they own on a subform. I have a button for the full details but a subform showing the bits I would need to see daily rather than all the data. The data is stored in a separate table for the customer. I also have another table showing the key history, this is all the keys they have from me and is linked via the Cylinder ID field. This is set up like Richards customers contacts from Experts 3 and is a subform again on the contact form.

The trouble I'm having is it's only showing me data from the first lock and not any other. When I click on someone's second or third lock the data stays the same. If I choose a customer without any key history the subform changes to a new entry.

Would be great if anyone could help.

Many Thanks

Gary
Adam Schwanz  @Reply  
           
4 years ago
Could be a few things, do you have more records shown on the navigation bar at the bottom of the subform?

In the property sheet of the subform is Link Master Fields and Link Child Fields set to your relationship ID?
Scott Axton  @Reply  
      
4 years ago
My first thought was that if you are seeing only one record is, did you set the SubForm to continuous form?
It will only show one record if it is a single form.

Default View under the Format tab on the SubForms Form properties.
Gary Orros OP  @Reply  
     
4 years ago
Thanks for the replies,

Yes, there are other records that show when on that customer.
The problem is with the people who have more than one lock or item, all I can see all the history for the first items but nothing for any of the others. I hope to be able to select the item from a subform and then see all that history in another subform.
But maybe I'm trying to be to clever for my own good.

I have checked the master and child links and they are the same.

Yes, the form is set to a continuous form, will check the default view.


Thanks Again.
Kevin Robertson  @Reply  
          
4 years ago
When you select a record in the first Subform you will need to requery the second. You can do this in the OnCurrent Event. Also see Value From a Form on how to reference a subform.
Gary Orros OP  @Reply  
     
4 years ago
Thanks Kevin

The first form works fine, so hopefully the event video will be the missing part. Will watch those and let you know how I get on.

Appreciate the help

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: 8/7/2026 8:22:53 PM. PLT: 0s