Re: RowFilters with related tables
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Fri, 23 Sep 2005 17:27:04 +0200
Pete,
In my opinion can you not create this using a filter in SQL and as well will
you not be able to do that in a dataset. Because there is nothing to filter,
it is matching.
The same as in SQL you can use the getchildrows to make a seperate table.
I hope this helps,
Cor
"Pete Davis" <pdavis68@[nospam]hotmail.com> schreef in bericht
news:4NidnfvNa5nsianeRVn-tw@xxxxxxxxxxxxxxx
> "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
> news:O1uMYxEwFHA.708@xxxxxxxxxxxxxxxxxxxxxxx
>> Pete,
>>
>> Reading your text I am in doubt if the select can help you.
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatatableclassselecttopic.asp
>>
>> Otherwise I would go for the getchildrows and see if that is zero.
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatarowclassgetchildrowstopic.asp
>>
>> I hope this helps something
>>
>> Cor
>
> Thanks, but that's not going to do it. I guess what I neglected to mention
> is this has to be done as a RowFilter since it's a DataViewManager which
> is bound to a grid control. I want the grid to only show the parent rows
> for parents that have children and the children which meet the row filter
> criteria.
>
> I know, this is probably some where in the land of obscurity. I mean, just
> figuring out how to bind a grid to a DataViewManager and apply filters
> took a bit of digging. MS didn't really go out of their way to document
> this stuff.
>
> Pete
>
.
- References:
- Re: RowFilters with related tables
- From: Cor Ligthert [MVP]
- Re: RowFilters with related tables
- From: Pete Davis
- Re: RowFilters with related tables
- Prev by Date: Re: Reading heavy .TXT file with StreamReader
- Next by Date: Re: Postfix increment
- Previous by thread: Re: RowFilters with related tables
- Next by thread: Re: RowFilters with related tables
- Index(es):
Relevant Pages
|