Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access Form List box using Multi Select = Simple

Posted on 2008-10-17
3
Medium Priority
?
1,815 Views
Last Modified: 2013-11-28
I'm using a list box (List0) Multi = Simple. How is the selected data stored and how can I access it.

 
0
Comment
Question by:arnier13
  • 2
3 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 22740348
Access 2003 does not store the selections of a multi-select list box.
To store mult-selections you would have to write code to store multiple values and write further code to decode the stored values.

0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 2000 total points
ID: 22746849
arnier13,

1. You might want to switch to "Extended" multiselect mode, becuase it works in the way most people expect from a Windows program.

2. When you select multiple values you can use a loop to "Accumulate" the values.
You can then use the values as multiple criterion in a query. (ex: WHERE Country='USA' OR Country='Spain')

See this link:
http://support.microsoft.com/kb/135546

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 22758873
OK,

But Peter57r also answered you question as well, but from a different perspective.

You original request was how to "Access" these values.
Therefore Pete's suggestion of writing code is a actually the more accurate answer to your original question as posed.

You should have really split the points.

Please click the "Request Attention" button in your original post, to have this changed.

Thanks!
;-)

JeffCoachman
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question