What is the difference of
and
What is the logic of the first premise?
Code:
If (rs.State And adStateOpen) = adStateOpen Then
Code:
If rs.State = adStateOpen Then