Solved

Access Form List box using Multi Select = Simple

Posted on 2008-10-17
3
1,807 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 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

803 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