Select to view content in your preferred language

Copy properties one field to another fieldd with different field types

699
4
Jump to solution
01-30-2022 02:42 PM
turguttosun
Emerging Contributor

I have two different field with different properties as can be shown from photo. 

I need to copy one field  properties to another but it gives error "The value is you entered is out of range or is not a whole number"

First field type is double second one is float. Thanks for answer.

1.jpg

 

I uploaded file as an mdb. the field name is "munhani".

https://dosya.co/2hfcscf8ue7e/sulama_.rar.html

0 Kudos
1 Solution

Accepted Solutions
RobertBorchert
Honored Contributor

It will still update. But it will truncate it to the length of the float that has been defined.

Which you can specify in the Precision option

View solution in original post

0 Kudos
4 Replies
RobertBorchert
Honored Contributor

What method are you using to try and copy. the Float should be able to take the double.

I just created a float field and field calculated the shape length in to it.

 

shan_sarkar
Frequent Contributor

Hi @turguttosun ,

Just from a basic data type standpoint Double has a higher range than Float.

shan_sarkar_1-1646800779920.png

Having said that, it is easier to move a data from a Float field into a Double but not the other way around, not without data loss. You may refer ArcGIS field data types

In your case, you will have to Add Field to create a secondary field with field type as Double and use Calculate Field to populate the data.

I hope this helps!


~Shan
RobertBorchert
Honored Contributor

It will still update. But it will truncate it to the length of the float that has been defined.

Which you can specify in the Precision option

0 Kudos
zafersahinn
New Contributor

The issue solved about 1 month ago. Thanks for contribute.

0 Kudos