Related List Boxes on Forms
Posted: Tue Jun 30, 2009 4:39 pm
I have listbox#1 that I need to place lookup data in. Depending on the value selected I would like to refresh the data in listbox #2.
I have listbox #1 bound to the proper datasource and I have listbox #2 bound to a datasource that accepts an ID parameter from Listbox #1 but for the life of me I can't get listbox #2 to rebind the data in it so that it will see the new parameter I have passed to it as a filter.
I would like to find a way to do this purely using databinding and not with looping through the dataset for listbox #2 if possible.
I have listbox #1 bound to the proper datasource and I have listbox #2 bound to a datasource that accepts an ID parameter from Listbox #1 but for the life of me I can't get listbox #2 to rebind the data in it so that it will see the new parameter I have passed to it as a filter.
I would like to find a way to do this purely using databinding and not with looping through the dataset for listbox #2 if possible.