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 
Combobox update value VBA
Rene Robichaud 
      
3 years ago
Greetings,

I have "member form", where we can enter new members and a "service form", where I can checkmark the services we offered to members during each visit.

On the "service form", I have a combo box, to select a member we served for that visit.

However, from the "member form", I'd like to be able to press a button and it open the "service form" in a NewRec, but will automatically assign the name of the member that was on focus without having to manually select it from the dropdown.

This is what I have so far:
Private Sub AddServiceBtn_Click()  
    DoCmd.OpenForm "ServiceRecordF"
    DoCmd.GoToRecord , , acNewRec
    DoCmd.GoToControl "MemberCmb"
    DoCmd..(I would like Access to update the value of the "member select combobox" on my "service form" to the members record that was on focus from my "member form").

Is there any tip or techhelp video that could help me figure this out. I have been searching for a while. Any help is appreciated.

Thanks!
Rene Robichaud OP  @Reply  
      
3 years ago

Rene Robichaud OP  @Reply  
      
3 years ago

Kevin Robertson  @Reply  
          
3 years ago
On the ServiceRecordF set a Default Value for the Member Combo Box.
Rene Robichaud OP  @Reply  
      
3 years ago
That works out! Thanks Kevin :-)
Rene Robichaud OP  @Reply  
      
3 years ago
Sent a little tip your way!
Kevin Robertson  @Reply  
          
3 years ago
Thanks. Much appreciated.

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 1:13:02 AM. PLT: 1s