Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Problems evaluating NULL

$
0
0

Hi,

 

I have a report formula that allows the appropriate information to be published based on specific criteria.

Though the 5th statement that evaluates 2 fields from the dB as NULL never works.  Nothing gets returned even though there is data in the Col_Identifier.

I tried the last "else" as a "blah" return and that did not get returned so it seems to be evaluating correctly but returning nothing./

Hoping an extra set of eyes will see the problem as I cannot!

 

if left({ReportComponent_53_CurrentDelta.Col_Family}, 7) = "Windows" then

    {ReportComponent_53_CurrentDelta.Col_Family} & " SP" & {ReportComponent_53_CurrentDelta.Col_ServicePack}

 

else if left({ReportComponent_53_CurrentDelta.Col_Family}, 8) = "Cisco NX" then

    "Cisco NX-OS " & {ReportComponent_53_CurrentDelta.Col_Version}

 

else if {ReportComponent_53_CurrentDelta.Col_Family} = "Linux" then

    {ReportComponent_53_CurrentDelta.Col_Type} & " " & {ReportComponent_53_CurrentDelta.Col_Version}

 

else if {ReportComponent_53_CurrentDelta.Col_Group} = "VMware" then

    {ReportComponent_53_CurrentDelta.Col_Family} & " " & {ReportComponent_53_CurrentDelta.Col_Version}

 

else if IsNull({ReportComponent_53_CurrentDelta.Col_Family}) And IsNull({ReportComponent_53_CurrentDelta.Col_Version}) then

    {ReportComponent_53_CurrentDelta.Col_Identifier}

 

else if isNull({ReportComponent_53_CurrentDelta.Col_Family}) = True then

    "Unknown"

 

else

    {ReportComponent_53_CurrentDelta.Col_Version}


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>