ACC2: Moving List Box Items from One List Box to Another (132137)
The information in this article applies to:
This article was previously published under Q132137 SUMMARY
This article describes how you can create a form that has two list boxes
that imitate the multiple-selection capability reflected in Microsoft
Access Wizards.
This method uses a Yes/No field in the table to indicate which records are
selected. One list box displays the Yes records and the other displays the
No records. To move items from one list box to the other, the Yes/No field
of the selected record is set to the appropriate state and the list boxes
are then requeried to update their respective lists.
Note that the method provided is suitable for single-user environments
only. If this method is used in a multiuser environment, what one user
does may interfere with the actions of another. See the "References"
section later in this article for more information on a multiuser
technique.
REFERENCES
For more information about how to select more than one item from the
same list box (using an array), see the following article in the Microsoft
Knowledge Base:
121356 ACC2: How to Create a Multiple-Selection list box
Modification Type: | Major | Last Reviewed: | 11/6/2000 |
---|
Keywords: | kbhowto kbusage KB132137 |
---|
|