Moving data between list boxes

B

Bob Quintal

=?Utf-8?B?UmVzdGxlc3NBZGU=?=
I have two list boxes: EndEquipmentList and ChosenList.

I would like to be able to populate data between the two list
boxes in a fashion not dissimilar to the form wizard pop-up. I
was going to assign the functionality to the doubleclick event
on each list box, but would be equally happy creating buttons
similar to the ones on the aforementioned form wizard.

I'm not very good at programming and am not sure how to
approach this. Do I need to create a table that will act as
the rowsource for the chosen list? The EndEquipmentList is
currently populated from a query. How do I remove items and
add items to this reflecting selections and unselections.

I'd appreciate any help.

Regards,
RA
Your current EndEquipmentList query is based on one or more
tables. Somewhere in your database is a table that stores the
indication of wheter or not the equipment is on the list or not.

The code to add the item to the endEquipmentlist must either add
the item to the table, if the presence of the item is what
determines inclusion, or change the flag to allow inclusion in
the query if that's how the query is filtered.

Code to remove the item deletes the row in the table or resets
the flag as applicable.

Please provide some further details, such as the SQL for the
EndEquipmentList query, and any other queries'SQL if they are
used in the creation of the EndEquipmentList query.
 
G

Guest

I have two list boxes: EndEquipmentList and ChosenList.

I would like to be able to populate data between the two list boxes in a
fashion not dissimilar to the form wizard pop-up. I was going to assign the
functionality to the doubleclick event on each list box, but would be equally
happy creating buttons similar to the ones on the aforementioned form wizard.

I'm not very good at programming and am not sure how to approach this. Do I
need to create a table that will act as the rowsource for the chosen list?
The EndEquipmentList is currently populated from a query. How do I remove
items and add items to this reflecting selections and unselections.

I'd appreciate any help.

Regards,
RA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

list box remove item 1
List Boxes 1
Move Item Between List Boxes 1
List Boxes Do Not Requery (Access 2003) 4
List Boxes 2
Two multi-select list boxes 3
List Box or Combo Box 4
Value on another table 3

Top