Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 56 forks source link

Attribute Assistant - Expression - Expose option to get last value of field #219

Closed MikeMillerGIS closed 6 years ago

MikeMillerGIS commented 7 years ago

The ability in an expression to access the last value of a field that changed.
To do this, we expose a new way to get the previous value of a field. You will use the [FieldName] format, but a ~ will be added in front of the field name, like below: [~fieldname]

Note:

This will look at the year entered, if that year is greater that the current year, reset the edit to the previous value. Example: IIF([YEAR] > CInt(Year(Now())),[~YEAR],[YEAR])

clareprice commented 6 years ago

Verified. Closing.