I spent the last 4h hitting my head with the keyboard and trying to find a solution by myself, so, no solution found, and, here I am.
Scenario:
2 tables: table A and table B
Table A, has a linked filed to table B, and this last table contains several records
Basically it is 1:n relation
Ok. Now I setup a blank page on interface designer.
I select a record picker for table A. No issues here
And, I select a record picker for Table A, but linked field to table B. (which effectively displays only those values from the table B that are available/linked to table A)
The button triggers an automation which contains a script. The idea -that is not working- is that the script should grab the value from the first record picker, which is the field recorded on Table A, and the value of the second record picker which is the linked field on table A pointing to table B.
What is the issue? when I defined the variables, I declared field1 as table A field, and field2 as the field with the linked records, assuming it would grab the values from the record pickers. But, for the linked field it is grabbing all the values stored on the table and not the one I choose over the interface.
It has to be possible I just don’t see it.
Any help is appreciated because this is blocking me badly.
Thanks in advance.