By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,254 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,254 IT Pros & Developers. It's quick & easy.

Adding an Array of ParentColumns in a DataTable

P: n/a
Here is my code:
mds.Relations.Add( _

New DataRelation( _

relationName:="relPaidSwipe", _

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

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

createConstraints:=False))

I am trying to make a relationship on 2 columns instead of just one. Is
this posible?
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
What do U mean by making relation on one Column??
U can set up relations only on two columns

Regards
Mahesh

-----Original Message-----
Here is my code:
mds.Relations.Add( _

New DataRelation( _

relationName:="relPaidSwipe", _

parentColumn:=mds.Tables("PaidvsJob").Columns ("EmpNumber"), _
childColumn:=mds.Tables("Swipes").Columns("EmpNum ber"), _

createConstraints:=False))

I am trying to make a relationship on 2 columns instead of just one. Isthis posible?
.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.