MutuallyExclusiveLists.mdb |
Post Reply |
Author | |
Jirí Cerný
Contributor Joined: 24 Jun 2008 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 10 Jul 2008 at 5:56am |
This sample demonstrates selecting the values from "Full" list, moving selected item to "Selected" list and removing from the "Full" list. Multiple selections, Select All, Unselect All are implemented. Both "Full" and "Selected" lists are based on the temporary table, which is created on-the-fly at opening of the form. It contains ID and label (shown in the lists) taken from underlying data plus extra column to hold the flag describing the selection status (selected/unselected). Values can be moved between both lists through double clicking individual values or subset (specified using ovious Shift or Ctrl keys). Listboxes MultiSelect Property is set to Extended, row source is defined programmatically at opening of the form. Closing the form destroys the temporary table, so any action utilizing selected values have to be created prior closing the form.
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |