I have a simple if statement to check if a string is Null or not but no matter what the value is, it always skips over the expression:
Do While Not rsEmail.EOF
If (rsEmail.Fields("email").Value) <> Null Then
strEmail = strEmail & rsEmail.Fields("email").Value & ";"
End If
rsEmail.MoveNext
Loop
strEmail = strEmail & rsEmail...... never executes even when the debugger is showing that the value is not Null. ideas?
Do While Not rsEmail.EOF
If (rsEmail.Fields("email").Value) <> Null Then
strEmail = strEmail & rsEmail.Fields("email").Value & ";"
End If
rsEmail.MoveNext
Loop
strEmail = strEmail & rsEmail...... never executes even when the debugger is showing that the value is not Null. ideas?