473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Access. MultiSelect for dummies

Hi,

I have been searching for info about Access 2003 MultiSelect option. I have found a lot of info, however, I do not know how to use it.

I want in my forms a field where I can select more than 1 value. It seems like you can do this with a list box. It is fine for me till here.

I have created the list box and I have introduced the values that I want to be shown (I have introduced them manually; they are not read from a table or query). The list box in called “applications” and the possible values are: Broadband and Broadcast (they could be more). I have selected MultiSelect=simple or extended in the properties. Doing that, it is possible to select 2 values.

My problem: I do knot know how to read that selection!! How to store it??!!

If the selection of that field is for a form which introduces data in a table, then I need those selected values to be stored in the field “applications’ in the table. So, there will be an entrance in the table whose field application is = Broadband Broadcast, if both are selected.

If the selection of the field is for a QBF, then I need the selected values to be used in the criteria in the query. For example, I can make a query to search those who have in applications de values Broadband Broadcast. Or search for those who only have Broadband…

All the info I found about this involves macros, and I found some code examples. My problem is that I have no idea about macros. I do not know where I need to save the macro code, or what to do to execute it… When I try to copy the code examples, I do not know where to copy them… Could someone explain me step by step, for dummies, what I need to do?

Thank you!
Oct 10 '11 #1
1 2035
NeoPa
32,556 Expert Mod 16PB
It sounds like you need to go and learn the basics of the subject first. We can make the answers simple, but we answer questions rather than tutor people in learning the subject from scratch. That is not what we've signed up for. The following links are some that may help you get to a state where you can interface meaningfully with questions asked and answered on here :
  1. Microsoft Access Tutorial.
  2. Microsoft Access Tutorials (Strive4Peace).
  3. Microsoft Office Tutorials.
  4. VBA Tutorial (Excel).

I don't know which will suit you best, but I'm sure you can find something in there to help you get started. You should appreciate what it is your responsibility to manage for yourself, and what others are prepared to offer of themselves to assist. It's an important line, and well worth avoiding crossing.

As for your question, the MultiSelect ListBox control has a property called .ItemsSelected which is an array of the items that the operator has selected. It's hard to provide anything more helpful at this stage with no context within which to place it (as you provide none). I'm sure you appreciate that such an answer, without context, is of limited use.
Oct 10 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Volumstein | last post by:
Hello, I am spoiled coming from programming in word and excel which offer the "record macro" tool that eliminated most basic syntax confusions that I had. unfortunately msaccess doesn't offer...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
1
by: Jillian Cee | last post by:
I have a multiselect list box (simple). I need to find out how to get Access to recognise my multiple selections firstly (I believe) then I want these selections to go into a query so that I can...
5
by: Neil Hindry | last post by:
I want to learn more about how to use Access XP, so I thought a tutorial might be a good idea. I searched the internet but couldn't find anything decent. Does anyone know of any free Access XP...
1
by: tod4 | last post by:
Hi, My problem: I have query with value klient and product. On my form Im using multiselect box as filter of klient value. Now I would like to use second multiselect on this form for product...
17
by: Igor | last post by:
Can I use access for big database (cca 10-30 MB, cca 10-30k lines in database). It will be asp.net 2.0 aplication and very fast server. Mostly simple transactions (like SELECT * From Books Where...
6
lobstah24
by: lobstah24 | last post by:
OK...I'm new to MS Access but I am progressing pretty well. I've made a small and simple D Base for our church to track member donations. The form used to enter donations has 4 entry...
3
by: kaosyeti via AccessMonster.com | last post by:
hey... i have an unbound multiselect listbox on a form that i want to use to populate text boxes on that form. so if a user selects the 3rd item in a list of 20, how can i have that item show up...
1
by: Redbeard | last post by:
I am a newbie running Access 2003. A couple of weeks back a member named ADezil help me write a code that let a , MultiSelect Listboxs that run a Query on a Form (many thanks). I have used this...
1
by: asharma0001 | last post by:
Hi all, I was wondering whether somebody might be able to help me with a question I have on a MS Access Database I'm building. I have created a search form with a few multiselect listboxes....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.