Solved! Go to Solution.
I want to populate the value in the field "description" when the value in "diameter" is created or changed.
tableName - water_pipes
fieldName - description
valueMethod - expression
valueInfo - IIF([DIAMETER] >=16, "250")
onCreate - True
onChange (attribute) - True
onChange (geometry) - false
manualOnly - False
I've tried both creating a new feature and changing the value of an existing feature attribute but this expression is not working.
Any ideas? I've looked through the forum and found much more complicated expressions that this seems simple in comparison.
I want to populate the value in the field "description" when the value in "diameter" is created or changed.
tableName - water_pipes
fieldName - description
valueMethod - expression
valueInfo - IIF([DIAMETER] >=16, "250")
onCreate - True
onChange (attribute) - True
onChange (geometry) - false
manualOnly - False
I've tried both creating a new feature and changing the value of an existing feature attribute but this expression is not working.
Any ideas? I've looked through the forum and found much more complicated expressions that this seems simple in comparison.
Are there a set number of diameters?
If so you should create a subtype of the diameters. Enter the values for the Diameter as you create the different subtypes.
Then in the dialog below the subtypes are your different attributes. When you select your first diameter (in the subtype dialog) go to the attribute and fill in the default value for the description.
You can do this for each subtype.
Let me rephrase it.
Will there be a set number of diameters?
I want to populate the value in the field "description" when the value in "diameter" is created or changed.
tableName - water_pipes
fieldName - description
valueMethod - expression
valueInfo - IIF([DIAMETER] >=16, "250")
onCreate - True
onChange (attribute) - True
onChange (geometry) - false
manualOnly - False
I've tried both creating a new feature and changing the value of an existing feature attribute but this expression is not working.
Any ideas? I've looked through the forum and found much more complicated expressions that this seems simple in comparison.