Adding an Array of ParentColumns in a DataTable

  • Thread starter Thread starter Ben Pursley
  • Start date Start date
B

Ben Pursley

Here is my code:
mds.Relations.Add( _

New DataRelation( _

relationName:="relPaidSwipe", _

parentColumn:=mds.Tables("PaidvsJob").Columns("EmpNumber"), _

childColumn:=mds.Tables("Swipes").Columns("EmpNumber"), _

createConstraints:=False))

I am trying to make a relationship on 2 columns instead of just one. Is
this posible?
 
What do U mean by making relation on one Column??
U can set up relations only on two columns

Regards
Mahesh
 
Back
Top