I have one table which draws relationships.
Here is an example.
TblStaff
StaffID
LastName
TblAffiliatedStaff
StaffID
AffiliationType
AffilStaffID1
AffilStaffID2
AffilStaffID3
AffilStaffID4
===================
AffilStaffID is the StaffID.
TblAffiliatedStaff draws links between StaffID to other staff as 1-to-Many relationship.
What I want to do it draw many-to-many relationships.
ex)
I have a form for TblAffiliatedStaff.
I will enter:
Fm_AffiliatedStaff
staff7
Research Type
staff3
staff14
staff21
staff66
Which in turn draw relationships like these.
And insert them into the TblAffiliatedStaff.
staff7 -> staff3
staff7 -> staff14
staff7 -> staff21
staff7 -> staff66
What I want is:
staff7 -> staff3
staff7 -> staff14
staff7 -> staff21
staff7 -> staff66
staff3 -> staff7
staff3 -> staff14
staff3 -> staff21
staff3 -> staff66
staff14 -> staff7
staff14 -> staff3
staff14 -> staff21
staff14 -> staff66
staff21 -> staff7
staff21 -> staff3
staff21 -> staff14
staff21 -> staff66
staff66 -> staff7
staff66 -> staff14
staff66 -> staff21
staff66 -> staff3
And insert them into the TblAffiliatedStaff.
Of course I want to enter only once like this from the form.
Fm_AffiliatedStaff
staff7
Research Type
staff3
staff14
staff21
staff66
How can I make these automatically draw relationship and insert them into the table??
Thank you so much in advance.