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 
Queries breaking my forms
David Cummins 
      
3 years ago
I find using queries to create relationships to build forms may be a bad practice for me. In short, modifying queries breaks my forms and subforms, so I don't see the value in this workflow. I am still learning VBA but is that a more solid way to create relationships?
Kevin Yip  @Reply  
     
3 years ago
If it is a data entry form, it is best to use a *single table* as the form's recordsource, so you won't run into any conflicts with other tables while you are doing data entry.  If the form needs to bring in data from another table, use DLookup(), combo boxes, or other methods.  Queries are best for displaying data, such as in reports, or forms made for displaying data.
Gregory Clancey  @Reply  
    
3 years ago
David, this is important advice. I think the role of queries as data source for Forms is important and a matter that constantly challenges new Access database developers. There IS a role for this sort of comprehensive data usage. Learning in which situations "DLookup" is the better way to fetch related table data may seem a point of lesser confusion for a seasoned developer whose experience guides the best practices, but it seems the rest of us need a lot of trial and error to entirely bring to heel.
David Cummins OP  @Reply  
      
3 years ago
Thanks, I was not aware of DLookup function. That could solve a few of my issues.
Gregory Clancey  @Reply  
    
3 years ago
From my own experience, Dave. DLOOKUP is like having a query without having to have a query. However, Rick has advised me that it can slow performance when overused; and it may make life difficult when used at all on Forms meant to gather data. I have relied on CLZ TechHelp vids and the lessons offered here to perfect my understanding of their ideal usage. Imitating their role from well-built Forms is always best.

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 5:16:47 PM. PLT: 1s