Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Courses > Access > Expert > X01 > < B9 | X02 >
Back to Access Expert 1    Comments List
Multi Value Combo Boxes Upload Images   Link   Email  
John Schulte      
3 years ago
Is there a way to pick multiple values of a dropdown list. As an example; A customers preference is to ship UPS first and them USPS, but I'd like that to show in the same field with just a comma between them.

Thanks!
Alex Hedley             
3 years ago
How about a MultiSelect ListBox Access Developer 15
Kevin Robertson            
3 years ago
If you need your list of values in a textbox separated by commas for display purposes,  you could try something like this:

    Private Sub btnAdd_Click()

        Dim S As String
    
        S = ""
    
        S = ComboBox.Column(1)
        TextBox = TextBox & ", " & S
        If Left(TextBox, 2) = ", " Then
            TextBox = Right(TextBox, Len(TextBox) - 2)
        End If
    
    End Sub

Also, since you are a Gold Member you have access to  the Code Vault. Check out Richard's DLookUpPlus function.
Richard Rost             
3 years ago
I wouldn't use multi-valued fields. For this I would actually recommend a related table and a subform. Then you could pick each shipping method AND put a "1, 2, 3" next to them for order of preference.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 1.
 

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/16/2024 6:15:00 AM. PLT: 0s