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.
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.