Ref/enum for specific value

Hello Guys,

i have two tables in my app which are "data" and "users". I have a column named [producer_name] in table "data" with type enum. The drop down list for the [producer_name] column is only names with producer level from the "user" table, according to the table I attached. so when i fill in the [producer_name] column, drop down list only shows the name with producer level. I need your help how to make it possible. Thank you for your help

 

namelevelemail
Johnmanager
john@gmail.com
Jennysupervisor
jenny@gmail.com
Rockystaff
rocky@gmail.com
Leestafflee@gmail.com
Qualitycreator
quality@gmail.com
Jackproducerjack@gmail.com
Kellyproducer
kelly@gmail.com
Sueproducersue@gmail.com
Solved Solved
0 2 98
1 ACCEPTED SOLUTION

In your valid-if or suggested values field, enter the expression below

SELECT(user[name], [level]="producer") 

View solution in original post

2 REPLIES 2

In your valid-if or suggested values field, enter the expression below

SELECT(user[name], [level]="producer") 

Thank you, Master. It works๐Ÿ˜

Top Labels in this Space