Hi,Trying to calculate a field based on another field. Want to give Contiguous a "Y" where Contig_ID is not NULL."Calculate Field for Contiguous"Field Name: ContiguousExpression: Answer(!Contig_ID!)
Code Block:
def Answer(CI):
if CI ==None:
return "N"
else:
return "Y"
I've read plenty of posts explaining that NULL == None in python, but this code only returns Y for all numeric values in Contig_ID. Where Contig_ID == Null, no values are returned to Contiguous.Any help would be grand!ThanksRich