Key value from a reference column

ATR
Bronze 5
Bronze 5

Iโ€™m trying to use reference call to return a key column from another table.
I tried SELECT() formula, REFROWS, and the refference formula and got nothing. The table that has the key column is this one above:

And i want to autocompute on another table (bellow) the existing key values โ€œCรณdigo de Notasโ€

The actual formula iโ€™m trying is:

NotasData[Cod. Req].[Cรณdigo Notas]
0 5 875
5 REPLIES 5

What did you try with the REF_ROWS formula? Or the SELECT for that matter? Your current formula will not work for this.

Typically REF_ROWS is like this:

REF_ROWS(โ€œTable Referenceโ€, โ€œRef Columnโ€) and is of type list. So for one it appears you have the formula in the wrong table. A reference column you need to set the referenced table, no formula required.

ATR
Bronze 5
Bronze 5

Yeah i see but if i remove the autocompute formula on the form it show a enum from the key values.


But it should return the key value that has the same โ€œCod. Reqโ€ on โ€œNotasDataโ€ table - thatโ€™s why i was trying to autocompute

Seems that you may have a very specific setup that you are trying to accomplish here. If you could provide some additional details about your setup we may be able to help you better.

Steve
Platinum 4
Platinum 4

should be:

[Cod. Req].[Cรณdigo Notas]

See also:

ATR
Bronze 5
Bronze 5

โ€œNotasDataโ€ is the payment table, and โ€œRequisiรงรตesโ€ is a Order table. Since we first add a order record and then we add itโ€™s payment references. What iโ€™m trying to achieve is when i create a payment record (โ€œNotasDataโ€ form), and i select the orders key values referencing, on the orderโ€™s table it fill the key value for this payment

3X_a_7_a7ab5fa78270975e8d22225d51975bd5214e440c.png

Top Labels in this Space