Automatic Field Calculation-Embedded?

550
2
08-22-2018 10:28 AM

Is there a way to embed a calculation into the attribute field? I want to do simple things, take a long (one field) and multiply by 5 to populate values for a separate field. And I do not want to use a field calculator every time I enter a new feature.
Thank You
Thiramet

0 Kudos
2 Replies
Lake_Worth_BeachAdmin
Occasional Contributor III

As far as I'm aware there is no way to embed a calculation into your table. You can however write a short python script to preform the field calculation on a specific table and schedule it to run x times a day (every hour, minute, etc.)

Also, if you dont need your calculations stored in your table you can use Arcade Expressions to make these calculations on the fly. The returned values will be for displaying purposes only I do not think Arcade lets you write values to a table yet, though that would be beneficial if they did.

0 Kudos
by Anonymous User
Not applicable

You can use Attribute Rules, specifically a calculation rule, in ArcGIS Pro along with the Arcade Expressions mentioned above to create an automatic calculation with every insert. 

0 Kudos