AnsweredAssumed Answered

ArcGIS Pro 2.1 - How to calculate Null values in a date field in shapefile?

Question asked by Vincenty on May 17, 2018
Latest reply on May 18, 2018 by Vincenty

Hi,

 

In a model, after joining a shapefile to a text file, I am trying to calculate a newly created Date format field in the shapefile. But, whenever I have an empty date in the text file, the if else statment catches it and tries to fill a Null value in the Date field. But it crashes and not not work!

 

I tried:

return ''

return 'None'

return 'Null'

return '0'

 

But none worked! Any guess for the proper syntax? Thanks

 

Outcomes