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.

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"?

2 Likes

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)

2 Likes

Many thanks @TeeSee1

1 Like