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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top