datarelation based on two columns

This is the syntax for a datarelation based on one column: Ds1.Relations.Add("relA", Ds1.Tables(0).Columns("Key1"), Ds1.Tables(1).Columns("FKey1")) How can I make a relation based on two columns ? (complex foreign key)

Loader.
Up arrow icon