On some mailing labels, there is a need for a department name and the Institution name. I changed them slighly so that a comma would not show up if the institution was not entered. This was the expected problem. However, I have now come across a situation where there is an Institution name but no department name.
The label will print like this now:
, Institution
How can I make the comma only show up if both of the names are there?
=Trim([Department] & IIf(IsNull([Institution]),"",", " & [Institution]))
The label will print like this now:
, Institution
How can I make the comma only show up if both of the names are there?
=Trim([Department] & IIf(IsNull([Institution]),"",", " & [Institution]))