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 > TechHelp > Directory > Access > Multivalued Fields < Number Field Size | Referential Integrity >
Back to Multivalued Fields    Comments List
Upload Images   Link   Email  
Display MultiValue
James Hopkins 
     
2 years 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 years ago
Going to need more details. Screenshots may also be helpful.
James Hopkins OP 
     
2 years ago

James Hopkins OP 
     
2 years ago

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

I'd use a separate table instead, make a relationship then you can add a SubForm etc.
Kevin Yip 
     
2 years 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 years ago

Kevin Yip 
     
2 years 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 OP 
     
2 years ago
Y'all I see that now.
Richard Rost 
            
2 years ago
See this extended cut: Groups
James Hopkins OP 
     
2 years ago

James Hopkins OP 
     
2 years ago

James Hopkins OP 
     
2 years ago

James Hopkins OP 
     
2 years ago

James Hopkins OP 
     
2 years ago
Thank you, I got the Outter Join Problem fix , but I got this coming up.
Richard Rost 
            
2 years ago
IsNull(InvoiceDate)
James Hopkins OP 
     
2 years 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 in Multivalued Fields .
 

 
 
 

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: 11/11/2024 9:13:59 AM. PLT: 1s