Hierarchical allow only one relations at a time

  • Thread starter Thread starter Gene Ariani
  • Start date Start date
G

Gene Ariani

Hi;

I have a hierarchical dataset that I would like to show in a grid. When I
set a relationship between A and B I can expand B to see the detail and When
I set a relationship between A and C it also works. The problem it appears
that the code only accepts the first relation and ignores the other. So I
can only expand one row


A
+B
+C

DS.Relations.Add("relation1", DS.Tables("A").Columns("ID"),
DS.Tables("B").Columns("ID"))
DS.Relations.Add("relation1", DS.Tables("A").Columns("ID"),
DS.Tables("C").Columns("ID"))


Any direction is appreciated it.
 
Back
Top