Changing Field Type from DropDown to MySQL formula field

Post Reply
pepe
Sponsor
Sponsor
Posts: 556
Joined: 25 Aug 2015, 21:35
Name: Pepe
Location: Graz, Austria
Contact:

Changing Field Type from DropDown to MySQL formula field

Post by pepe »

Hi Sergey,
I had to change a field from type DropDown to type MySQL formula. There is an issue because fields show values after the change of type. With field type MySQL formula, fields are always emtpy because values are computed dynamically. Please see screen shot.
2018-11-07_DropDownField2MySQLformulaField.JPG
Also, table app_fields_choices still shows dropdown values after the above change ... there might be some cleanup required after that operation.
Best regards, Pepe
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Changing Field Type from DropDown to MySQL formula field

Post by support »

I allowed change field type because some times it needs change from dropdown to multidropdown and do not lost data.
But in your case you better delete field and create new one.
Post Reply