How to change enum values based on data in different table (and still can be change in form)

i want change enum value based on id that i selected but the data is from another table, i ve treid to use select(Companies[status], [id]=[_thisrow].[kode_cus_gt], it is change but it cant be edit later or change later and its text not enum, how do i make it happend