jch001
Newcomer
Hi,
I have two list boxs both of which are bound to two separate data tables in the same Data Set. i.e. lbA.datasource = ds1.Table1; lbB.datasource = ds1.Table2. I have set up a relationship between the two tables.
I expected to be able to select a value from list box A and List Box B would filter accordingly. It doesn't....
If I replace List Box B with a Data Grid B (same settings as List Box B) and add this line of code.
dgB.SetDataBinding(Me.ds1, "Table1.Relationship")
The data grid filters accordingly.
Does anyone know if you can do something similar with List Box's?
I have two list boxs both of which are bound to two separate data tables in the same Data Set. i.e. lbA.datasource = ds1.Table1; lbB.datasource = ds1.Table2. I have set up a relationship between the two tables.
I expected to be able to select a value from list box A and List Box B would filter accordingly. It doesn't....
If I replace List Box B with a Data Grid B (same settings as List Box B) and add this line of code.
dgB.SetDataBinding(Me.ds1, "Table1.Relationship")
The data grid filters accordingly.
Does anyone know if you can do something similar with List Box's?