Default value in an Enum field bringing data from another table

I have, for example, a table of branches that has 4 branches, but I want to present the first one as default value for my client. If I put as initial value the name of the branch, it appears as if it were an additional value to the 4 already entered.

How can I make the first record of this table appear as default?
Thanks as always for your support.

Solved Solved
0 4 152
1 ACCEPTED SOLUTION

Your column is a reference columns and as its initial value, you have to set the key (scursal_id) value and not the label (scursal)

View solution in original post

4 REPLIES 4

You need to provide more detail.

You have branch id and branch name? You use reference and label?

What do you mean by " as if it were an additional value"?

Hi @TeeSee1 you can see what happen in this link

https://www.loom.com/share/90fdbeb886574bcbb5e600767a1f6786 

Your column is a reference columns and as its initial value, you have to set the key (scursal_id) value and not the label (scursal)

Many thanks @TeeSee1 

Top Labels in this Space