Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Set analysis is still a mystery for me. I am trying to count the records in a table when either VASEndDate is null or when DisconnectDate is null.
I can get one or the other with this:
Count({$< VASEndDate = {"=Len(VASEndDate) > 0"} >} AcctNo)
I cannot determine how to 'or' them together. I found a post that just listed the second filed inside the <>:
Count({$< VASEndDate = {"=Len(VASEndDate) > 0"} DisconnectDate= {"=Len(DisconnectDate) > 0"}>} AcctNo)
That is not working.
By the way, is Len()>0 the best way to look for Nulls? It seems to work, but it bothers me...
The heck with set analysis for this one...
Count(if(not IsNull(DisconnectDate) or not IsNull(VASEndDate), AcctNo))
The heck with set analysis for this one...
Count(if(not IsNull(DisconnectDate) or not IsNull(VASEndDate), AcctNo))
Hi,
Check if the below expression helps you.
Count({$< VASEndDate = {"=Len(VASEndDate) > 0"}> * <DisconnectDate= {"=Len(DisconnectDate) > 0"}>} AcctNo)
Check the attached application for sample.
-Sridhar
hi
try this also
Count(if(IsNull(DisconnectDate)='-1' or IsNull(VASEndDate)='-1', AcctNo))
thanks®ards
rohit
Correct me if wrong, but I think using "LEN() > 0" would mean it is NOT Null and "= 0" or "< 1" would indicate Null