Forum Discussion
DianeSinawi1
4 years agoQrew Member
Evidences only have the one parent table of Controls, but each evidence can be assigned to multiple Control records.
------------------------------
Diane Sinawi
------------------------------
------------------------------
Diane Sinawi
------------------------------
MarkShnier__You
Qrew Legend
4 years agoYou will need to have a new structure for your relationships.
You are saying that One Control has Many Evidences.
But also one Evidence can be used on many Controls.
So you need to have a middle join table of "Control Evidences".
Then when you go to add an "Evidence" to a control, you will actually be adding a Control Evidence record.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
You are saying that One Control has Many Evidences.
But also one Evidence can be used on many Controls.
So you need to have a middle join table of "Control Evidences".
Then when you go to add an "Evidence" to a control, you will actually be adding a Control Evidence record.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- DianeSinawi14 years agoQrew MemberIf I use a many-to-many relationship, will my main Control form still be in the Control table, or do I need to move it to the join table?
------------------------------
Diane Sinawi
------------------------------- MarkShnier__You4 years ago
Qrew Legend
The Control record stays the same but the embedded child report of Control Evidence records will be records from the join table.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- DianeSinawi14 years agoQrew MemberThank you for your help. I was hesitant to use many-to-many relationship because everything I read said it was complicated and to avoid if possible. But I watched a tutorial, and I was able to put it together quickly and easily, and it works like a dream.
It's an added bonus that we now also have associated Controls listed in each Evidence form, so I think this will make reporting on both easier overall.
Thank you!!
------------------------------
Diane Sinawi
------------------------------