I am returning a value from my database. The data type is a string. I checked with TypeName. However, my if condition never works despite it printing the value I am checking for. Any ideas?
while NOT prs.EOF
RecordStatus = prs("status")
If (RecordStatus = "S") Then
response.write("Scheduled!<br>")
prs.MoveNext
Else
response.write(RecordStatus & "<BR>")
prs.MoveNext
End If
Wend
prs.Close