ArcGIS 10.2
I am looking for an IF/ELSE statement that I can place in the text properties of my Data Driven Page Attribute item to change the font color based on the value in that field. Here is the function I have been trying. Its a variation on a function for basic map label. I can't get this function to work w/ dynamic text.
Function FindLabel<dyn type="page" property="attribute" field="RP_Slope" domainlookup="true"/> > 2 then
FindLabel = <CLR red='255'><dyn type="page" property="attribute" field="RP_Slope" domainlookup="true"/></CLR>
else
FindLabel = <dyn type="page" property="attribute" field="RP_Slope" domainlookup="true"/>
end if
End Function