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 
Child Fields to Master Fields
James Hopkins 
     
4 years ago
Hey, I have created an "Card on File" form with a sub form. I tried to link the forms together, but I keep receiving an error message.
James Hopkins OP  @Reply  
     
4 years ago

Richard Rost  @Reply  
          
4 years ago
James... how can I help you if I can't see the expression? The error message alone doesn't tell me enough.
James Hopkins OP  @Reply  
     
4 years ago
Sorry about that, here is what I have. Both forms "Record Source" is using SQL.
James Hopkins OP  @Reply  
     
4 years ago

James Hopkins OP  @Reply  
     
4 years ago

Richard Rost  @Reply  
          
4 years ago
I have a suspicion that it's not a problem with your subform, but that it's a calculation that is crazy somewhere. If you remove the subform, do both forms open individually?
James Hopkins OP  @Reply  
     
4 years ago
Yes, they do individually.
Richard Rost  @Reply  
          
4 years ago
Looks like you're using an SQL statement for the Record Source properties of your forms. Replace that with a single table. See my screenshot:
Richard Rost  @Reply  
          
4 years ago

Richard Rost  @Reply  
          
4 years ago
See how yours says ? Get rid of that. Go with tables or SIMPLE queries only. If you need to look up other fields, use DLookup on that form.
James Hopkins OP  @Reply  
     
4 years ago

James Hopkins OP  @Reply  
     
4 years ago

Richard Rost  @Reply  
          
4 years ago
Yeah, that's WAY too complicated. You'll need to scale that down to a SINGLE table or a SIMPLE query. DLookups in there are a no-no. You MIGHT be able to put a lot of that into a Query and then use that as the recordsource, but as it is now, it's too complicated.
Alex Hedley  @Reply  
            
4 years ago
Why are you using a DLOOKUP in a Query, just JOIN the tables.
James Hopkins OP  @Reply  
     
4 years ago
I was trying not to have so many Tables in the Query. I should have used DLookup in the Form fields.
James Hopkins OP  @Reply  
     
4 years ago
Most of the "DLookups" are looking up Data from the Helper Table for 'Status, Types, or Unit of Measurement ". To convert the Number Value stored in the Child Table.
Alex Hedley  @Reply  
            
4 years ago
You can have as many Tables in a Query as necessary. That's it's job.
Granted you may get the Not Updateable.
Richard Rost  @Reply  
          
4 years ago
I would say there really isn't a reason you should ever have a DLookup in your query SQL statement. Join to the table where the lookup is. But yes, I'd prefer them in the form.
James Hopkins OP  @Reply  
     
4 years ago
Thank You Guys again for your help on this Problem.

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 11:31:52 PM. PLT: 1s