Re: DataView.RowFilter
From: Magne Ryholt (magne.ryholt_at_bluezone.no)
Date: 08/04/04
- Next message: Cor Ligthert: "Re: DataAdapter.Update Command Failed To Update Database"
- Previous message: Andy Fish: "Re: where is IDbException"
- In reply to: Miha Markic [MVP C#]: "Re: DataView.RowFilter"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 10:27:14 +0200
That will work, but is there really no way of accessing directly in the
filter ? (seems a bit starnge if not possible since Parent.Name works fine)
"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:O2AUKsfeEHA.2804@TK2MSFTNGP11.phx.gbl...
> Hi Magne,
>
> One way would be to create an expression column in each child with parent
> value.
> That will give you grandparent or whatever value you want.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "Magne Ryholt" <magne.ryholt@bluezone.no> wrote in message
> news:Oy83jmfeEHA.3412@TK2MSFTNGP11.phx.gbl...
> > I need to filter a view on values from parent table, this works fine
e.g.
> > "Parent.Name='MyFathersName'"
> >
> > However, I also need to filter on grandparent and grand-grand parents
> > (a.s.o.) columns as well, syntax
"Parent.Parent.Name='MyGrandFathersName'"
> > does not work (exception is thrown), any one knows how to do this ?
> >
> >
> >
>
>
>
- Next message: Cor Ligthert: "Re: DataAdapter.Update Command Failed To Update Database"
- Previous message: Andy Fish: "Re: where is IDbException"
- In reply to: Miha Markic [MVP C#]: "Re: DataView.RowFilter"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|