How do you label only the odd or even integers of a field using python in the label e

المشرف العام

Administrator
طاقم الإدارة
I'm new to python and would like to use the label expression box with python to display only the odd or even integers from the field, [Frame_Number].

I was thinking something like

def FindLabel ( [Frame_Number] ): for num in [Frame_Number]: return num % 2 return [Frame_Number] But I know that is incomplete. Any help would be great!

Thanks,

Anthony



أكثر...
 
أعلى