If ((bHasChild = True) And (objRs.Fields("Comment_Type"
= "R"
And (objRs.Fields("RebuttalStatus"
= ""
) Then
strHTML = strHTML & "<td>" & strViewApproveDeny & "</td>"
ElseIf objRs.Fields("Comment_Type"
= "C" Then
strHTML = strHTML & "<td>" & strDelEditComment & "</td>"
ElseIf objRs.Fields("Rebuttal_Status"
> "" Then
strHTML = strHTML & "<td>" & strActionOnly & "</td>"
ElseIf objRs.Fields("Comment_Type"
= "A" Then
strHTML = strHTML & "<td>" & strDelEditAction & "</td>"
Else
strHTML = strHTML & "<td>" & strDelEditRebuttal & "</td>"
End if
It's the 1st line in the statement that concerns me because I'm checking 'If A AND B AND C Then...'
Is it legit to check >1 condition in 1 if statement? If it is legit, is my syntax correct?
I couldn't find any information about this.
As always, thank you for your help!!
strHTML = strHTML & "<td>" & strViewApproveDeny & "</td>"
ElseIf objRs.Fields("Comment_Type"
strHTML = strHTML & "<td>" & strDelEditComment & "</td>"
ElseIf objRs.Fields("Rebuttal_Status"
strHTML = strHTML & "<td>" & strActionOnly & "</td>"
ElseIf objRs.Fields("Comment_Type"
strHTML = strHTML & "<td>" & strDelEditAction & "</td>"
Else
strHTML = strHTML & "<td>" & strDelEditRebuttal & "</td>"
End if
It's the 1st line in the statement that concerns me because I'm checking 'If A AND B AND C Then...'
Is it legit to check >1 condition in 1 if statement? If it is legit, is my syntax correct?
I couldn't find any information about this.
As always, thank you for your help!!