Row Changed Script

Top  Previous  Next

 

We will now do an example to show you how the Row Changed Script feature works. I have the following layer:

 

EVENTS~1_img7

 

It has the following columns in its layer data:

 

EVENTS~1_img8

 

I want to make a script that will make the Description of a polygon “Large” or “Small” based on whether the Amount of the polygon is greater or smaller than 10; when the Amount in the row is changed this script  will be run and the Description column will populate accordingly. This is the script I made for this:

 

EVENTS~1_img9

 

The columns were entered in the script using the Insert Column button:

 

EVENTS~1_img10

 

If I now go and enter in an amount in the Amount column (Row Changed) the script is run and the Description column populates accordingly:

 

EVENTS~1_img11