Select to view content in your preferred language

Field Calculation Error

2771
4
06-15-2016 08:18 AM
JerryClark4
Occasional Contributor

I am trying to calculate  field but i keep getting this error (the calculated value is invalid for row with ObjectID = 3). I pur in this equation ([QuadID_1]=REX) and I got that error. Dose anyone know what I did wrong. Help please

Tags (2)
0 Kudos
4 Replies
WesMiller
Deactivated User

What is the field type you are calculating from to? The value of the record you are trying to input from OBJECTID 3 will not fit the type of the field you are calculating to. Example would be if you are trying to put a Long type in a Short type field.

JerryClark4
Occasional Contributor

[cid:image002.png@01D1C6F2.42738FB0]

Jerry W. Clark

GIS Analyst

Arkansas Geological Survey

0 Kudos
JerryClark4
Occasional Contributor

I realized what I was doing wrong. In this GDB that field is coded in the domains of the subtype as a numeric code no a txt code. When I put in the number it worked. Thanks for your help. When you asked what the field type was I realized what I had done.

Jerry W. Clark

GIS Analyst

Arkansas Geological Survey

WesMiller
Deactivated User

Glad you got it. Please mark your question as answered so others will know you have resolved your issue. Also please mark anything helpful if you found anything helpful.