Hello.
I can't understand why this behavior is happeniing. I have the below formula in 1 report and it works fine:
Local stringVar upsSenior;
if{CNTR_ATT_UPSSAO_V.ATT_TYPE}<> " " then
upsSenior:="...Same As Office"
else
upsSenior:= {PRODX_ADDRESS_UPS_V.STREET1} + " " +{PRODX_ADDRESS_UPS_V.STREET2} + " "+{PRODX_ADDRESS_UPS_V.CITY} + "," + {PRODX_ADDRESS_UPS_V.STATE} + " " + {PRODX_ADDRESS_UPS_V.ZIP};
However, I add the same logic to another report and a null value is displayed instead of the entire address. And what I have concluded is that if Street2 is null, null is assigned to upsSenior. Does anyone know why if street2 is null, why 1 report still shows the other fields while the other report shows nothing for the fields.
I can't understand why this behavior is happeniing. I have the below formula in 1 report and it works fine:
Local stringVar upsSenior;
if{CNTR_ATT_UPSSAO_V.ATT_TYPE}<> " " then
upsSenior:="...Same As Office"
else
upsSenior:= {PRODX_ADDRESS_UPS_V.STREET1} + " " +{PRODX_ADDRESS_UPS_V.STREET2} + " "+{PRODX_ADDRESS_UPS_V.CITY} + "," + {PRODX_ADDRESS_UPS_V.STATE} + " " + {PRODX_ADDRESS_UPS_V.ZIP};
However, I add the same logic to another report and a null value is displayed instead of the entire address. And what I have concluded is that if Street2 is null, null is assigned to upsSenior. Does anyone know why if street2 is null, why 1 report still shows the other fields while the other report shows nothing for the fields.