Forum Discussion

EmberKrumwied's avatar
EmberKrumwied
Qrew Captain
4 years ago

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
------------------------------
  • Report Link fields can also do Non Exact Matching.  There is a checkbox for this on the report link field properties. 

    It was always very fuzzy to me what that meant. So I wrote it down in my cheat notes to myself.  

    Report Link non exact matching means that the field on the "Parent" (left) must be contained within the field on the right "Child".

    SET NON EXACT MATCH!!!

    So, .... Should mean that if you made a formula concatenated field of the two different partner names like

    Fred Flintstone - Barney Rubble

    who were involved in the transaction you should be able to match the partner name on the left of the configuration fields with the combined partner names as the right matching element as set non exact match

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • EmberKrumwied's avatar
      EmberKrumwied
      Qrew Captain
      Thank you Mark, that is fabulous.  I couldn't find a checkbox with the name you mentioned but there was a checkbox titled "Value Matching - Only include values if they match exactly in both fields".  That did the trick!

      Now, part 2 of my evil plan ; ):

      So we know about the Transfers table but I have a second table, Transfer Steps.  This table is linked to the Transfers table to indicate if a Parent Transfer involved multiple steps.  At the Parent level I am showing the beginning and ending of a membership interest move, however (due to tax reasons) the ending result might have included intermediary steps to complete.

      Example:
      Parent Transfer - Partner A transferred 20% interest into Partner D.
      Child Transfer - Partner A transferred 20% interest into Partner B; Partner B transferred to Partner C; Partner C transferred to Partner D.

      The Transfer table and Transfer Steps table both have/use the same data columns so what would be the best way (if it's even possible) to have a single table that would show, row by row, all the rows from the Transfer table and all the rows from the Transfer Steps table.

      Thanks!

      ------------------------------
      QuickBase Admin
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        Re: so what would be the best way (if it's even possible) to have a single table that would show, row by row, all the rows from the Transfer table and all the rows from the Transfer Steps table.

        Not possible the show the results of two tables combined into one table.  However the embedded report can be any report type.  If Transfer Steps are Children of Transfers, then you can look up any fields from Transfers to Transfer Steps and then sort and group the report by Transfers and include in the Group by fields any Transfer fields that you don't want to be repetitive.

        You can also make a Rich Text field on Transfer steps to use on the embedded report fo the Group by.



        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------