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 
Help with a Combo Box
Julian Dyer 
     
2 years ago
Hi,

I have a combo box to which relates to stock colour id, eg 10 (see picture) as a colour id is store in the stock file, however, in the form I want 10 to show as the id and along side the id box have the colour it relates to - which is Natural

However, when I add the boxes, I get "10" showing up in both fields and when I select another colour, the same both codes show in both boxes.  The colour name is specific to the stock item form and not saved in the main stock file as the colour id is saved for that purpose.  For user friendly, need to show the colour alongside the code.

Which on of Richards classes do I need to revisit as I am obviously getting something wrong.

The form is rough looking, however, once I get all fields working as I would like, then I will set the correct layout.  
Julian Dyer OP  @Reply  
     
2 years ago

Alex Hedley  @Reply  
            
2 years ago
Richard Rost  @Reply  
          
2 years ago
Set the Control Source of that text box to:

=ComboBoxName.Column(1)

Or you could make a query, join both fields together, and have them both be the visible column of your combo box so you don't need two controls.

See Last Name, First.

I actually have a video coming out on combo box columns soon.
Julian Dyer OP  @Reply  
     
2 years ago
Great ill look forward to it. Thanks for the help.

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 3:47:52 AM. PLT: 0s