[SalesForce] Increase length of custom text field when the field has data

I have a custom field on a custom object having text length 50. This object already has about 10K records.

My requirement here is to increase the text length to length 255. But I am not sure if I do that, the value of this field on 10K records will be reset to blank.

Can you pl help confirming if I have a problem here?

Best Answer

You won't have a problem with increasing the size of a text field.

If you decrease the size of a text field, the data will be truncated to the new field size.

Warning: Potential Data Loss
Warning Making this change may cause data loss by truncating values that do not meet the new restrictions.

Related Topic