Hi guys,
I have a simple IF statement that combines First with Last names:
How would I modify this to check if Last Name was empty, or First Name was empty, to only take the other half of the name and not add the ", "
In other words, new IIF would
-if last and first are filled, change to "Last, First"
-if nothing is present, change to Vacant
-If only last is present, change to "Last"
-If only first is present, change to "First"
Thanks!
I have a simple IF statement that combines First with Last names:
Code:
IIf([PositionIncumbentLastName]<>"",[PositionIncumbentLastName] & ", " & [PositionIncumbentFirstName],"Vacant")
How would I modify this to check if Last Name was empty, or First Name was empty, to only take the other half of the name and not add the ", "
In other words, new IIF would
-if last and first are filled, change to "Last, First"
-if nothing is present, change to Vacant
-If only last is present, change to "Last"
-If only first is present, change to "First"
Thanks!