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 
Update List
Elisabeth Koivumaa 
    
5 years ago
Trying to get one form to update another.
When I click on New supplier and save and close the form, it should appear in the first form box.
Juan C Rivera  @Reply  
            
5 years ago
Did you refresh the form?
Juan C Rivera  @Reply  
            
5 years ago
Not sure how much into the  beginners lessons you are at.   I just looked and there is plenty of material in the tech help.  I just don't know what level I should be speaking to you at as the refresh is a VBA topic.   Tell me how far into the lessons you are so I can try to walk you through this.  
Adam Schwanz  @Reply  
            
5 years ago
Try these Value From a Form and This
Elisabeth Koivumaa OP  @Reply  
    
5 years ago
yes, I'm a beginner here but I've been working with access for a while via youtube. Followed various DIY movies. So I know a little more than beginner level.

I have a form where I register a supplier for my jewelry. But if that supplier is not in the combobox list, I want to be able to click a button and a new form opens where I can create this supplier. Then when I close that form, the new supplier should appear in the combo box for suppliers.
Adam Schwanz  @Reply  
            
5 years ago
So if your combo box is bound to a table, just add a button that opens your form for suppliers,
DoCmd.OpenForm "formname", , , , acFormAdd
then make an on-close event in the suppliers form
Forms!FirstFormName.Requery
and then it should have your name in the combobox.
Elisabeth Koivumaa OP  @Reply  
    
5 years ago
Suppliers hava a table for them self. I dont get it to work??
Adam Schwanz  @Reply  
            
5 years ago
So you have a form that you use to look at or add suppliers with right? (If not how are you adding suppliers now?) Put that form name in formname inside the buttons onclick event that we are making
DoCmd.OpenForm "formname", , , , acFormAdd

Once inside that form (the form for suppliers) we add a on-close event to that form that sets the original form to requery.

This works, I do it all over. What do you mean by I dont get it to work? Do you get an error or anything? What is the code you're putting in look like after you replace my temporary values with your real values?
Kevin Robertson  @Reply  
          
5 years ago
I would Requery the ComboBox.

Forms!FormName!ComboBoxName.Requery
Scott Axton  @Reply  
        
5 years ago
Watch the Cascading video.  Starting about 13 minutes in Richard shows you how to refresh the information for the combo box.
I know you are not doing cities and states but it is the same concept.
Elisabeth Koivumaa OP  @Reply  
    
5 years ago
I Do what you say but another supplier gets active.

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/7/2026 10:12:40 AM. PLT: 0s