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 
Payment Received Form
Neal Austin 
      
6 months ago
HI, i am trying to pull together a form that has a sub form, my master form has my customer info with a combo box, which the master form is based off a qry, i also have a sub form within this master form, that is pulling from a qry that has the orders that have not been paid, all my qrys run fine and give correct info, my issue is that when i open my master form, it auto fills the customer id with the first customer id that is in my qry list of unpaid orders, and no matter what name i put into the combo box, it does not change the custoemr id, and there for it wont change the sub for to refelect he correct unpaid order. i have watched invociing video, all expert levels, etc. i have messed with how the querys are joined, etc. cant quite seem to figure out what is no working correctly so when i select the custoemr name fro mthe combo box, and it changes the custoemr id in the master field..
Donald Blackwell  @Reply  
       
6 months ago
what is the rowsource of your combobox and what what code are you using in the event after that combo is changed or updated.

Please be more specific. See Rule #2.

Without seeing what you see, we can't help you determine what isn't working
Sandra Truax  @Reply  
         
6 months ago
Without seeing your field names, it's kind of hard to tell. But in your after update of your combo box, put something like

Dim sqlStr as String
    sqlStr = "SELECT * FROM QueryName WHERE CustomerID = " & CustomerID

Then to update the subform.
    Forms!ParentFormName!SubformName.Name.Recordsource = sqlStr

Example
    Forms!CustomerForm!CustomerDetails.Name.RecordSource = sqlStr

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: 5/6/2026 10:51:37 AM. PLT: 1s