473,811 Members | 2,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MultiSelect List Boxes

Please point me in the direction of some good, free web based
resources\ documentation for information on developing the multi
select list boxes. Have made extensive use of the non-multi list
boxes in the past but am having problems locating good info for
writing code & using the multi select boxes. BTW am using acc
'97. Thanks for your input.
dc
Apr 17 '06 #1
5 2884
If you are trying to use multi-select listboxes to store multiple option
values in a single field, don't! Instead, create a related table to hold the
related records, and use a subform.

If you are trying to use an unbound multi-select listbox as criteria, see:
Use a multi-select list box to filter a report
at:
http://allenbrowne.com/ser-50.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"doncee" <no************ *****@charter.n et> wrote in message
news:Xn******** *************** *@216.196.97.13 1...
Please point me in the direction of some good, free web based
resources\ documentation for information on developing the multi
select list boxes. Have made extensive use of the non-multi list
boxes in the past but am having problems locating good info for
writing code & using the multi select boxes. BTW am using acc
'97. Thanks for your input.
dc

Apr 17 '06 #2
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in
news:44435939$0 $16685$5a62ac22 @per-qv1-newsreader-
01.iinet.net.au :
http://allenbrowne.com/ser-50.html


Thanks for your reply and the example\sample. Am trying to open
several records of a table via a specific form by highliting
those records in a list box. When the record has been updated &
then form closed the next highlited record would open in the
same form for editing until each of the highlited records have
been updated. Hopefully this makes sense. This is actually
similiar to the Developers Sample Phone list that is shipped
with Access but I felt that example was pretty cheesy & was
difficult to follow the code.Thanks for any help you can offer.
dc
Apr 17 '06 #3
So the list box is being used to filter the records that need to be edited?

You could use the code in the link to OpenForm with a WhereCondition so that
it contains only the records to be edited. The user then edits the record,
steps to the next one (using the built-in navigation buttons), and so on,
going back if needed, until the selected records are done, and then closes
the form.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"doncee" <no************ *****@charter.n et> wrote in message
news:Xn******** *************** **@216.196.97.1 31...
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in
news:44435939$0 $16685$5a62ac22 @per-qv1-newsreader-
01.iinet.net.au :
http://allenbrowne.com/ser-50.html


Thanks for your reply and the example\sample. Am trying to open
several records of a table via a specific form by highliting
those records in a list box. When the record has been updated &
then form closed the next highlited record would open in the
same form for editing until each of the highlited records have
been updated. Hopefully this makes sense. This is actually
similiar to the Developers Sample Phone list that is shipped
with Access but I felt that example was pretty cheesy & was
difficult to follow the code.Thanks for any help you can offer.
dc

Apr 17 '06 #4
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in
news:44******** *************** @per-qv1-newsreader-01.iinet.net
..au:
So the list box is being used to filter the records that
need to be edited?

You could use the code in the link to OpenForm with a
WhereCondition so that it contains only the records to be
edited. The user then edits the record, steps to the next
one (using the built-in navigation buttons), and so on,
going back if needed, until the selected records are done,
and then closes the form.


Thanks again for your reply. Are you saying that in the line
right above Exit_Handler I should change it to an OpenForm
rather than OpenReport?? I'm not sure I follow. I'm not the
best at this sort of thing.
dc
Apr 18 '06 #5
Yep: OpenForm will open the form, and you use the WhereCondition to open it
limited to the selected records (as long as the form is not already open.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"doncee" <no************ *****@charter.n et> wrote in message
news:Xn******** *************** **@216.196.97.1 31...
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in
news:44******** *************** @per-qv1-newsreader-01.iinet.net
.au:
So the list box is being used to filter the records that
need to be edited?

You could use the code in the link to OpenForm with a
WhereCondition so that it contains only the records to be
edited. The user then edits the record, steps to the next
one (using the built-in navigation buttons), and so on,
going back if needed, until the selected records are done,
and then closes the form.


Thanks again for your reply. Are you saying that in the line
right above Exit_Handler I should change it to an OpenForm
rather than OpenReport?? I'm not sure I follow. I'm not the
best at this sort of thing.
dc

Apr 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5031
by: Danny | last post by:
I like the combo box because you can scroll through items nicely, but the list box just has the navigation where you can go up and down. I am trying to allow the user to multiselect items. With the list box, he does not like it because if he clicks on the nav bar, it loses the selection!! even if he holds down the shift. Is there a way to do this with a combo box? I just see the multi select for the list box. Thanks in advance
3
2590
by: Shannan Casteel via AccessMonster.com | last post by:
I have three main tables. The first is the table that my main form will be based on. This is where the user will enter all the data. The table is called TechnicalProblemsTable. It looks like this: I can't fit it on the screen, so I'll just list the field headings vertically. CaseNumber-pk SolutionNumber Date
1
1985
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 value selection but only for those value that are filtered by first multiselect. I dont know how to connect selected value klient from first multiselect and value product from query and make it source of multiselect 2. Maybe someone did it before...
0
1061
by: - HAL9000 | last post by:
Was/Is there a resolution to this bug of using ListView check boxes and MultiSelect together? I have the same difficulty as the author. http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_frm/thread/76d2a0afe3aa93e5/c4d60764a0f3d62c?q=Multiselect+FullRowSelect+checkboxes#c4d60764a0f3d62c Title of newsgroup thread was "listview with checkboxes!Urgent" on July 5 of 2002.
3
3631
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 in a text box? then, how can i have a second selected item show up in a different text box, without affecting the 1st one? (lboxOptions, txtboxOptions0, txtboxOptions1, etc..) -- Greg Message posted via AccessMonster.com
1
1822
by: syam | last post by:
Hai Friends.. I have a search page and contains multiple multiselect list boxes, each containing 6 options. I want to check whether the user has checked atleast one option in each of those list boxes at the time the user clicking the Search button. How do i validate this . Thanks in advance...
5
4258
by: martin DH | last post by:
Hello, The details are below, but I have a simple form (Form1) with two objects and a "search" command button. When the two objects are cascading combo boxes (the form creates the parameters for a query - Query1), the query returns my results proper. But when the two objects are cascading combo-then-multiselect listbox (the perferred format in this case), the query always returns zero records. Tables: COMPILE (contains the records to be...
1
1792
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 code so much that I am trying to expand it to run off more then one list box. However I can’t get it to work. Original code is below. Private Sub PhotoSearch1_Click() Dim strOr As String Dim strDoc As String Dim varSelect As Variant Dim ctl...
4
1982
by: redcali55 | last post by:
Hello, Does anyone know what to alter this VBA code (below) so that a report can be filtered using criteria from TWO multiselect boxes? e.g. allowing the user to view products from multiple categories and multiple prices within those categories. http://allenbrowne.com/ser-50.html Thanks,
0
9722
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10379
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10393
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7664
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.