AnsweredAssumed Answered

Python Label Expression

Question asked by slamon on Apr 30, 2015
Latest reply on Apr 30, 2015 by sephefox

I am trying to create a python label expression without having any python skills

 

I have 2 fields [FIELD1] and [FIELD2]

 

If [FIELD1] > 0 and [FIELD2] < 0

return "text:" [FIELD1] 'text:" [FIELD2]

 

If [FIELD1] > 0 and [FIELD2] !< 0

return "text:" [FIELD1]

 

If [FIELD1] !> 0 and [FIELD2] < 0

return 'text:" [FIELD2]

 

Any help would be greatly appreciated.

Outcomes