I’m working on an address block for an invoice. I’ve created an unbound text box with the expression below as control source. I want the IFF to do is include fields which have a value and go to a new line. What I’m getting now is a blank line if the field has no value. I can’t see what I’m doing wrong in IIF statement. Anyone else see it?
=[strFName] & ” ” & [strLName] & Chr(13) & Chr(10) & IIf([tblOrg.strOrgName]=””,””,[tblOrg.strOrgName] & Chr(13) & Chr(10)) & IIf([tlkpAddrShp.strPOBox]=””,””,[tlkpAddrShp.strPOBox] & Chr(13) & Chr(10)) & IIf([tlkpAddrShp.strAddrPrt1]=””,””,[tlkpAddrShp.strAddrPrt1] & Chr(13) & Chr(10)) & IIf([tlkpAddrShp.strAddrPrt2]=””,””,[tlkpAddrShp.strAddrPrt2] & Chr(13) & Chr(10))
….there more but it’s just more of the same….
E