Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering a childtable to result same filter on parentable

Status
Not open for further replies.

Gandalf23

Programmer
Apr 9, 2002
128
NL
Hi all,

This is what I try to achieve:

I make 2 select statement which result in a table "Client" and "Client_Cars"

I put these two in a DataSet and put a relation between parent and child table.

This dataset is the DataSource of a DataGrid on a form.
All well this far.

On the same form there is a combobox with a list of cars. What I want to do is that when the user clicks on a specific car (for example BMW) in the combobox, the DataGrid only shows Clients that have these BMW cars.

The problem is that I have to set te filter on the childtable and expect that the parent table changes too.

Can anyone help?




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top