EmberKrumwied
4 years agoQrew Captain
Link Parent Table to Child Table on two fields
Good day all. Seeking advice on the following scenario.
Partner table - collects data about specific partner.
Transfers table - collects data about transactions involving partners.
The Transfers table has 2 fields Transferring Member and Receiving Member, both of which pull from the Partner Name field in the Partner table. This is because in any given transaction a Partner can be the party selling an interest or receiving an interest. Linking to the same field in Partner table helps to ensure data entry consistency.
So between the Partner table and Transfers table there are 2 relationships. One between Partner [Partner Name] and Transfers and a second between Partner [Partner Name] and Transfers [Receiving Member].
At the Partner level it is easy to embed a report that would show all Transfers when the Partner Name matches a value in the Transferring Member and a second report when it matches in the Receiving Member. The results returned are correct and displaying as expected.
What I'd really like, however, is to show the results in a single report. The results would be those records where the Partner Name appears in EITHER the Transferring Member or Receiving Member field of the Transfers table.
I am stumped on how I could accomplish this. Any assistance would be appreciated.
------------------------------
Ember
------------------------------
Partner table - collects data about specific partner.
Transfers table - collects data about transactions involving partners.
The Transfers table has 2 fields Transferring Member and Receiving Member, both of which pull from the Partner Name field in the Partner table. This is because in any given transaction a Partner can be the party selling an interest or receiving an interest. Linking to the same field in Partner table helps to ensure data entry consistency.
So between the Partner table and Transfers table there are 2 relationships. One between Partner [Partner Name] and Transfers and a second between Partner [Partner Name] and Transfers [Receiving Member].
At the Partner level it is easy to embed a report that would show all Transfers when the Partner Name matches a value in the Transferring Member and a second report when it matches in the Receiving Member. The results returned are correct and displaying as expected.
What I'd really like, however, is to show the results in a single report. The results would be those records where the Partner Name appears in EITHER the Transferring Member or Receiving Member field of the Transfers table.
I am stumped on how I could accomplish this. Any assistance would be appreciated.
------------------------------
Ember
------------------------------