I am trying to use a find label expression that changes the font of one field,
[NUMBERNAME]. I am using the Python parser of ArcGIS 10.3.1 for Desktop.
All fields have a data type of text. This is what I have...
def FindLabel ([NUMBERNAME]): lineone = "A:"+ [NUMBER] absName = "<CLR red='255'><FNT size = '14'>" + [NUMBERNAME] + "</FNT></CLR>" if [NUMBERNAME] != None: return lineone + '\n' + absName + '\n' + "BLK:" + [BLOCK] + '\n' + "SEC:"+ [SURNUM]
I am getting an error. Any thoughts as to what is wrong?
The expression contains an error. Modify the expression and try again. Error 0 on line 0. SyntaxError: invalid syntax(string, line 2).