Solved

Access Form List box using Multi Select = Simple

Posted on 2008-10-17
3
1,812 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

623 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