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 
Set Combobox Values from Query
David Wilcox 
    
5 years ago
Richard- I have a decision tree form with several comboboxes, each of which gives the user a preset handful of 'choices' in its dropdown (i.e. "yes", "no"). As the user makes a selection, the form changes according to the last choice  made,  offering a new combobox to become visible and a new decision to be made. The results of each combobox selection are stored in a table containing about 30 records. My problem is that I need each record to 'remember' the last settings of the form when it is opened. In other words, the next time the user goes to that particular record, the form will show their previous choices already in those comboboxes.  Is there a way to set the value of each of the comboboxes from a query of that table when the user moves from record to record? Could I use a 'set value' command or something similar when each record is accessed? (Sorry if my question is as 'clear as mud') Thanks for your help and live long and prosper.
David Wilcox OP  @Reply  
    
5 years ago

Adam Schwanz  @Reply  
           
5 years ago
You can use code to set the default value of the fields that would stay until they closed the form, or you can use DMAX to find the most recent record and then sue DLOOKUPs to set the values on the form to what they were previously. DLookup
Adam Schwanz  @Reply  
           
5 years ago

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/8/2026 2:31:10 PM. PLT: 0s