I have the following nested IF statement that displays nothing instead of "(no applicable code)". The P,E,I, and W is working. Does anyone know why? I can't seem to make the ISNULL function to work in other report either.
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "P" then "Participating"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "E" then "Eligibile"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "I" then "Ineligibile"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "W" then "Waived"
else
IF ISNULL({V_DEPENDENT.DEPCOBRAELIGIBLITY}) then "(no applicable code)"
else
{V_DEPENDENT.DEPCOBRAELIGIBLITY}
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "P" then "Participating"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "E" then "Eligibile"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "I" then "Ineligibile"
else
IF {V_DEPENDENT.DEPCOBRAELIGIBLITY} = "W" then "Waived"
else
IF ISNULL({V_DEPENDENT.DEPCOBRAELIGIBLITY}) then "(no applicable code)"
else
{V_DEPENDENT.DEPCOBRAELIGIBLITY}