Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Changing Data Field from Integer to String

Posted on by 60

Hi BC Gurus,

We have a customized field we would like to change from Integer to String. It looks like the field is already populated with a lot of data. Is there any risk to changing a field from Integer to String? We worry that we will lose data if we make the change. 

What would be the best way to make this change? 

Thanks!

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 45 on at
    RE: Changing Data Field from Integer to String

    Hi,

    Data loss occurs if a field converts from a higher data type to a lower data type. In your case its opposite. So data will not be lost.

    Just make sure that the length of string should be enough. Like if you have highest number as 1234567890 then length of string should be more than 10.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans