Work with Relational Data

  • Thread starter Thread starter Leon
  • Start date Start date
L

Leon

I know by using myDataSet.Relations.Add(), two related tables can be
joined together. Is there a way more than two tables can be joined
together?

Thank you for your help.
 
Greg said:
Define your example as this is not enough info.


For example, the follow

myDataSet.Relations.Add("CustOrders",myDataSet.Tables("Customers").Columns("CustomerID"),myDataSet.Tables("Orders").Columns("CustomerID"))

CustOrders is an relation between Customers and Orders. If I want to
create an relation not just join related two tables, join more than
two related tables, what are ways to do it?
 
Back
Top