Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

changing the datatype of field in a table

(0) ShareShare
ReportReport
Posted on by 129

Hello,

I wanted to know that there is form form1 which is having a table ABC and field XYZ(integer type).

This form is in production environment.

Now, we wanted to change it as datatype real for field XYZ(real type).

What should i do? which should not affect the data as it may cause issue with the data.

Should I delete this field and create a new field with same name?

Regards,

AyuSri

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: changing the datatype of field in a table

    Hi aayushi,

    Deleting the field and creating the new field with same name will sometimes cause synchronization issue and it will take time to resolve it.

    So, if you are deleting the field and recreating the same field with different type follow different naming convention.

    Also, if you delete that field, data for that field will be lost. Better you keep that field and create a new field.

    Thanks,

    Girish S.

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: changing the datatype of field in a table

    Hi aayushii, Data type of field can't be changed. You need to delete it and create a real type field. The data for integer field will be deleted, so export it before applying the change in production, in case you want to re use it.

    How about other fields which might be populating data from that integer field?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans