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 SQL Server Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
SubForms Pass Thru Qs
Teeka Leone 
     
4 years ago
created pass through queries to fill list forms. Speed increased exponentially. However one of those forms also acts as a subform on the customer form where the records in the subform map to the customer.  Subform is blank now and I got an error message that pass through queries don't work with sub forms. Any suggestions?
Richard Rost  @Reply  
          
4 years ago
Use the PassThru to fill a local table. Use the local table for the subform. It will be read-only, but so is any data from a PassThru.
Teeka Leone OP  @Reply  
     
4 years ago
I know how to fill the subform with the local table, but how do I fill the local table from the table on the SQL Server using a PassThru query?
Richard Rost  @Reply  
          
4 years ago
Create the local table. In your button, delete the records that are in there with a delete query. Use an append query (INSERT INTO) to pull records from the SQL Server via pass-thru. Now you have the records you need in a local table.
Teeka Leone OP  @Reply  
     
4 years ago
I think I need a tech help video for this!  I've created the local environments table.  
What button are you refering to?  The customer list Form opens to the selected Customer Form which in turn has the Environment Sub Form on it that loads form the SQL table.  
How do I tell the customer sub form to open with the local table; not the SQL Table.  Also I don't think I can do an append because the environments table on SQL Server is updated and appended to Weekly from a 3rd party app.  Once the users start using this DB the environments table will change all day every day so if they select the record from the local table in the sub form, that's the table that will be updated: not the SQL Table right?  Sorry if I'm missing something.
Richard Rost  @Reply  
          
4 years ago
If you have data that's updated once a week on your server and you need READ ONLY access to it locally, just run a query once a week to pull that data down to a local table in the user's database so they're not constantly hitting the server (slow). Then base whatever forms they need off of that local table. If they need to change a specific record, then open a SINGLE form direct to the data on the server.
Teeka Leone OP  @Reply  
     
4 years ago
Ahhhh I think I got it now. THANKS!!!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access SQL Server Lessons.
 

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/16/2026 4:27:38 PM. PLT: 1s