P
Pete Davis
I have two tables, let's just say Master and Details. The Master is the
parent table, Details the child table.
What I want is to create a row filter on the children. But I also want to
create a row filter on the master table such that only master records that
have children that meet the criteria in the children table filter, will be
included.
That is, only master records with one or more qualifying children.
Can this be done with row filters? I mean, I could go through the child
table to get a list of all the unique foreign keys and do an IN operation on
them. I'd rather not go this way on several grounds including, we could be
talking about thousands of records and then you could end up with a really
huge filter string which would be undesirable. I guess what I'm looking for
is something more automatic that won't have to be modified if the child data
set is modified. I suspect there's not a way to do SQL style relational
filters, but thought it was worth asking just in case.
Pete
parent table, Details the child table.
What I want is to create a row filter on the children. But I also want to
create a row filter on the master table such that only master records that
have children that meet the criteria in the children table filter, will be
included.
That is, only master records with one or more qualifying children.
Can this be done with row filters? I mean, I could go through the child
table to get a list of all the unique foreign keys and do an IN operation on
them. I'd rather not go this way on several grounds including, we could be
talking about thousands of records and then you could end up with a really
huge filter string which would be undesirable. I guess what I'm looking for
is something more automatic that won't have to be modified if the child data
set is modified. I suspect there's not a way to do SQL style relational
filters, but thought it was worth asking just in case.
Pete