Simple conditional question
Many times I got confuse when it comes to using cfif and cfelse.
When I only need to compare 1 variable, it is very clear. If VariableA is blank, count else do not count. Else in here clearly indicates if VariableA is NOT blank.
But in situation such as the following, I'm not sure what cfelse refering to:
<CFLOOP query="MyQuery">
<!--- In cases where either one of VariableA.B or C is Blank/Doesn't have value --->
<CFIF (#Len(VariableA)# EQ 0) OR (#Len(VariableB)# EQ 0) OR (#Len(VariableC)# EQ 0)>
.......
<CFELSE>
......
</CFIF>
</CFLOOP>
What I want in CFELSE above is, either VariableA AND B AND C can NOT be blank
So, Is the CFELSE here means : A1. (#Len(VariableA)# NEQ 0) OR (#Len(VariableB)# NEQ 0) OR (#Len(VariableC)# NEQ 0) or
A2. (#Len(VariableA)# NEQ 0) AND (#Len(VariableB)# NEQ 0) AND (#Len(VariableC)# NEQ 0)
