Best Practice for Enum Ref?

Hello. I have a table called Settings and here is a sample data

Category Name
Reason Code 1
Reason Code 2
Reason Code 3
Reason Code 4
Country 11
Country 12
Country 13
Country 14

I have this field in one of my forms and it is an Enum-Ref Type and connected to Settings table and filters the choices under the Reason Code category
3X_2_5_2524c5866acb421f4fc736705826bcc37eae93ca.png

When I click the New button in the dropdown, it will open the form in the Settings table
3X_4_b_4bc4c3e41497e20f288b2ff411fc965aae669de8.png

Here are my questions:

  1. Since I’m adding an entry in the reason code (first photo) field, is there any way to put the initial value of the the category to Reason Code (second photo)?

  2. If the answer in the first question is no, should I create separate table for Reason Code and Country (see sample data above)?

0 3 128
3 REPLIES 3

Steve
Platinum 4
Platinum 4

Aurelien
Google Developer Expert
Google Developer Expert

Hi @AppSheet_Develope_00

in addition:

Thank you for your reply Steve and Aurelien.

Yes, I can add Reason Code for the initial value when I’m adding an entry in this field.

3X_9_3_9385358333e92c56a313997ed1bd39f3a835aaa5.png

But when I’m adding a new country, the initial value of the category column should be Country too. Is this possible? Thanks

Top Labels in this Space