Free Lessons
Fast Tips
Topic Index
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > Multivalued < Create Word Document | Order Discount >
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   9 months ago

Back to Multivalued

Display MultiValue Upload Images   Link  
James Hopkins 
2 months ago
Hey, I am trying to display several "Customer Names" in a List Box that are in a "Customer Group" on a Continuous Form.  But the form display Blank Data.
Kevin Robertson
2 months ago
Going to need more details. Screenshots may also be helpful.
James Hopkins
2 months ago

James Hopkins
2 months ago

James Hopkins
2 months ago
What is the best way to get the information displayed correctly.
Alex Hedley
2 months ago
Evil Access Stuff

I'd use a separate table instead, make a relationship then you can add a SubForm etc.
Kevin Yip
2 months ago
You don't have the customers' names in your table, so you'll have to link that info into your query.  See the picture below as an example.  

In query design, a multivalue field shows up as two fields: "Fieldname", and "Fieldname.Value".  "Fieldname" is the entire multivalue field *in one row* (e.g. "3, 6"), while "Fieldname.Value" is all the values in *separate rows* (e.g. "3" and "6" in different rows).  

You need to use the ".Value" field here, because you want all your different customers to show up in different rows in the list box.  

In your case, you need to use ClientID.Value.  Link this field to your customer table that has the customer names.  Add that customer name field into the query.  It should look something like my picture.  Add a criteria to show only the names in the specified client group (e.g., =[Forms]![YourFormName]![ClientGroupID]).  Put this query into the RowSource property of the list box.  That should achieve your goal.

P.S. You can also use DLookup to look up customer names with ClientID.Value inside the query, without having to link to the customer table to get the names.
Kevin Yip
2 months ago

Kevin Yip
2 months ago
But as others have said, multivalue fields are frowned upon by many Access users, myself included.  Even if you can solve this problem, you will surely run into other problems you can't solve due to multivalue fields.
James Hopkins
2 months ago
Y'all I see that now.
Richard Rost
2 months ago
See this extended cut: Groups
James Hopkins
2 months ago

James Hopkins
2 months ago

James Hopkins
2 months ago

James Hopkins
2 months ago

James Hopkins
2 months ago
Thank you, I got the Outter Join Problem fix , but I got this coming up.
Richard Rost
2 months ago
James Hopkins
2 months ago
Thank you again, Richard and your awesome friend for your time and help.

This thread is now closed. If you wish to comment, start a NEW discussion, below.

Back to Multivalued Comments

Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to Multivalued
Get notifications when this page is updated

Check out these other pages that may be of interest to you:

2/2/2023Import Objects
2/1/2023Continuous Forms Not Working
1/31/2023Group On Top
1/30/2023Association 8
1/27/2023Math in Fields
1/26/2023Association 7
1/25/2023Change Query
1/24/2023Association 6
1/23/2023Association 5
1/20/2023Association 4

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/3/2023 9:00:52 PM.