
How do I create a canned form?
(I'm an beginning Access developer; any help would be greatly appreciated.)
I want the user to select a list of items. The form would contains two list
boxes -- one list box contains a list of all items, the other list box
contains a list of selected items from the first list box. The function
would look something like:
boolResponse = AddRemoveItems(colAll, colSelected)
where
colAll is a two-dimensional collection of items (id and description)
colSelected is a one-dimension collection of ids of the selected items
which is returned
boolResponse is boolean; if user cancels form then false; otherwise, true
and colSelected contains selected items
I want this function to be as generic as possible so that it can be used in
different applications.
Can you get me started?
Thanks in advance.