Re: Filtering Parent table on child records

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Helen,

Normally you have to get the childrows from the parent and than to loop to
those.
http://msdn2.microsoft.com/en-US/library/system.data.datarow.getchildrows.aspx

I hope this helps,

Cor


"Helen Warn" <HelenWarn@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:5321A0B6-2AFE-4753-8699-A1DD79BF1877@xxxxxxxxxxxxxxxx
Good day,

I have a DataSet with 2 tables, Parent & Child, that are connected by a
DataRelation. I would like to filter the Parent table to display only
those
records which have a record in the Child table that satisfies a certain
condition.

Any suggestions?

Cheers,

Helen
--
Helen Warn, PhD
Agile Software Inc.
www.agile-soft.com


.



Relevant Pages

  • Unix Programming FAQ (v1.37)
    ... Why use _exit rather than exit in the child branch of a fork? ... Why doesn't my process get SIGHUP when its parent dies? ... How do I create a named pipe? ... How do I compare strings using regular expressions? ...
    (comp.unix.programmer)
  • Unix Programming FAQ (v1.37)
    ... Why use _exit rather than exit in the child branch of a fork? ... Why doesn't my process get SIGHUP when its parent dies? ... How do I create a named pipe? ... How do I compare strings using regular expressions? ...
    (comp.unix.programmer)
  • Unix Programming FAQ (v1.37)
    ... Why use _exit rather than exit in the child branch of a fork? ... Why doesn't my process get SIGHUP when its parent dies? ... How do I create a named pipe? ... How do I compare strings using regular expressions? ...
    (comp.unix.programmer)
  • Unix Programming FAQ (v1.37)
    ... Why use _exit rather than exit in the child branch of a fork? ... Why doesn't my process get SIGHUP when its parent dies? ... How do I create a named pipe? ... How do I compare strings using regular expressions? ...
    (comp.unix.programmer)
  • Unix Programming FAQ (v1.37)
    ... Why use _exit rather than exit in the child branch of a fork? ... Why doesn't my process get SIGHUP when its parent dies? ... How do I create a named pipe? ... How do I compare strings using regular expressions? ...
    (comp.unix.programmer)