mardi 24 mars 2015

conditional auto populate field values based on other column values?


I would like to know if there is a way to even possibly populate field value automatically for a column based on the condition of other columns. Not sure what the best way to explain but to provide an example here:


Essentially, I have an attribute table with 5 columns. I've established the domain in which the values can only be numbers (1 or 2). Ideally I would like to create a sixth column in which will auto populate based on the values from the previous 5 columns. The condition is this, if there is a value 2 in any of the columns the sixth column would be valued at 2. If all columns were listed at 1 then the sixth column would be 1.


I do not wish to auto generate this manually. I would like it in a way in which when the first 5 columns are populated, the sixth value will auto generate.





Aucun commentaire:

Enregistrer un commentaire