def myfunction(docno) : if len(docno)== 0 : return "" else: return "V:\Eng\Land Management\Easements\Scanned Documents\" + docno + ".tif"
return r"V:\Eng\Land Management\Easements\Scanned Documents\" + docno + ".tif"
def myfunction(docno): docno = str(docno).strip() # remove any trailing spaces if len(docno).strip() == 0: val = "" else: # the "r" is needed val = r"V:\Eng\Land Management\Easements\Scanned Documents\" + docno + ".tif" return val
myfunction( !DOC_NO! )
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.