I have two tables:
- Tables - Name, Field, Linked Fields
- Fields - Name, Field Type, Table, Lookup Source, Linked To (just the ones I think matter here)
So anyway, in the Fields table:
I have a relation column, named Table, that lets me select a table from Tables.
I have another relation column named Linked To. If a row’s Field Type is “Linked Record”, then I have to select a table from in the Linked To column.
I also have a relation column, named Lookup Source, that only lets me select a row belonging the table selected in Table but only the ones whose Field Type is “Linked Record”. So if the row’s Field Type is a certain type, then I have to select a Lookup Source, which is a row with the Linked Record Field Type.
I want to make it so that, in the Linked To column, I can only select the table that the row with the “Linked Record” Field Type is Linked To. Basically, I want them to have the same value for the Linked To column and it’s important that they stay as relation columns.
Here is the column formula I’m playing with for the Linked To column:
If(thisRow.[Field Type] = Linked Record, Tables, IF(OR(thisRow.[Field Type] = Lookup, thisRow.[Field Type] = Rollup, thisRow.[Field Type] = Count), <the Linked To column of the row selected in the current row’s Linked To column>,“”))
I hope this is clear. This is the actual info I’m working with and the naming is very confusing as I’m trying to document fields and tables in tables named Fields and Tables. I appreciate any guidance that can be given in this regard.