AnsweredAssumed Answered

If field is in database

Question asked by dzestis94 on May 3, 2017
Latest reply on May 4, 2017 by bixb0012

Hi everyone,

Maybe anyone knows how to check, if field exists is in FC, than return value from FC, if it`s not than value = Null.. Now i have fields dictionary.

fields = {"OBJECTID" : "ID", "SHAPE@X" : "POINTX", "field3" : "Field"}

I want to check if field3 are in FC, than i get field3 values, else, field not exists values = Null 

 

I think its IF/Else statement. Am I right ? 

 

Sorry if I ask basics questions. I`m a newbie in python programming....

Thanks for any help  

Outcomes