Changing Field Types

SOLVED

I currently have a field type of selection, which only allows you to select one item in the list. Would it be possible to change the type selection to type multiselection? There's already information in the old field and I really would like to not abandon that information (or maybe is there a way to create the new multiselect field and populate it with the old select information for each record?)

Parents
  • 0

    Right! I found the field I want to change and a field that I want to turn it into. I see that I'll have to change the entry type, entry size, and the data size.

    However, while I see that use of commas, I'm not sure behind the code to do that (change the text form).

    When I just change the entry type, and then add a few new multiple selections I get an error:

    An unexpected event has occurred: SQL Code: 8152
    SQL Code: 3621
    Exception: SQL Error

    If I change those other settings I'm hoping it'll go away.

    Now my guess to adding the commas, would look something like this?

    UPDATE Opportunity
    SET oppo_assignedtech = CONCAT(',',oppo_assignedtech,",")

Reply
  • 0

    Right! I found the field I want to change and a field that I want to turn it into. I see that I'll have to change the entry type, entry size, and the data size.

    However, while I see that use of commas, I'm not sure behind the code to do that (change the text form).

    When I just change the entry type, and then add a few new multiple selections I get an error:

    An unexpected event has occurred: SQL Code: 8152
    SQL Code: 3621
    Exception: SQL Error

    If I change those other settings I'm hoping it'll go away.

    Now my guess to adding the commas, would look something like this?

    UPDATE Opportunity
    SET oppo_assignedtech = CONCAT(',',oppo_assignedtech,",")

Children
No Data