Often I need to recalculate attributes based on its own values. Sometimes the fields are basically the same, and therefore the formula is the same. But because the AttributeFieldName is different, every time I copy the formula, I also need to adjust for the changing fieldname. Which can easily introduce errors, especially when you have a lot of fields.
Why not have an operator which specifies the value of the current field. That way in the AttributeManager would look something like:
FieldA conditional value
if <thisAttributeName> has a value then @Value(<thisAttributeName>)
else if 10<@Value(CheckField) then 'G'
else null
FieldB conditional value
if <thisAttributeName> has a value then @Value(<thisAttributeName>)
else if 11<@Value(CheckField) then 'G'
else null
instead of:
FieldA conditional value
if FieldA has a value then @Value(FieldA )
else if 10<@Value(CheckField) then 'G'
else null
FieldB conditional value
if FieldB has a value then @Value(FieldB )
else if 11<@Value(CheckField) then 'G'
else null