def name (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!) if len(!OWNER1_FIRST_NAME!)>0 and len(!OWNER1_LAST_NAME!)>0: return !OWNER1_LAST_NAME! & ', ' & !OWNER1_FIRST_NAME! else: return !OWNER1_FIRST_NAME!+!OWNER1_LAST_NAME!
name (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)
Solved! Go to Solution.
def name1 (OWNER1_LAST_NAME, OWNER1_FIRST_NAME): if len(OWNER1_FIRST_NAME)>0 and len(OWNER1_LAST_NAME)>0: return OWNER1_LAST_NAME + ', ' + OWNER1_FIRST_NAME else: return OWNER1_FIRST_NAME+OWNER1_LAST_NAME
name1(!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)
def name (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!) if len(!OWNER1_FIRST_NAME!)>0 and len(!OWNER1_LAST_NAME!)>0: return !OWNER1_LAST_NAME! + ', ' + !OWNER1_FIRST_NAME! else: return !OWNER1_FIRST_NAME!+!OWNER1_LAST_NAME!
name (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)
def name (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!): # add this if len(!OWNER1_FIRST_NAME!)>0 and len(!OWNER1_LAST_NAME!)>0: return !OWNER1_LAST_NAME! + ', ' + !OWNER1_FIRST_NAME! else: return !OWNER1_FIRST_NAME!+!OWNER1_LAST_NAME!
def name1 (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!): if len(!OWNER1_FIRST_NAME!)>0 and len(!OWNER1_LAST_NAME!)>0: return !OWNER1_LAST_NAME! + ', ' + !OWNER1_FIRST_NAME! else: return !OWNER1_FIRST_NAME!+!OWNER1_LAST_NAME!
name1 (!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)
name1(!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)
def name1 (lastname, firstname): if len(firstname)>0 and len(lastname)>0: return lastname + ', ' + firstname else: return firstname + lastname
def name1 (OWNER1_LAST_NAME, OWNER1_FIRST_NAME): if len(OWNER1_FIRST_NAME)>0 and len(OWNER1_LAST_NAME)>0: return OWNER1_LAST_NAME + ', ' + OWNER1_FIRST_NAME else: return OWNER1_FIRST_NAME+OWNER1_LAST_NAME
name1(!OWNER1_LAST_NAME!, !OWNER1_FIRST_NAME!)