S
ScubaSteve
I found this in a previous thread and would like to implement this into
my database. I get the premise, but am not sure how to proceed with
it. I need to allow users to click on items in a listbox and add them
to a table that the second listbox queries to display it's value.
These items should be saved per recordkey. Here is the quote:
"
1) Use a temporary table as the rowsource for the second listbox, as
the
bosses "add" items to the listbox actually add them to the temporary
table
and then requery the listbox
2) Use a userdefined callback function for the rowsourcetype of the
listbox.
You can then maintain an array which contains the items added to the
list
and the callback function uses the array to fill the listbox (look up
RowSourceType in help and this will lead you to the function definition
and
examples of it's use)
"
The first one makes more sense to me, how to proceed with it? Thanks!
my database. I get the premise, but am not sure how to proceed with
it. I need to allow users to click on items in a listbox and add them
to a table that the second listbox queries to display it's value.
These items should be saved per recordkey. Here is the quote:
"
1) Use a temporary table as the rowsource for the second listbox, as
the
bosses "add" items to the listbox actually add them to the temporary
table
and then requery the listbox
2) Use a userdefined callback function for the rowsourcetype of the
listbox.
You can then maintain an array which contains the items added to the
list
and the callback function uses the array to fill the listbox (look up
RowSourceType in help and this will lead you to the function definition
and
examples of it's use)
"
The first one makes more sense to me, how to proceed with it? Thanks!