I need to look at a row in a DB, if it is null they need to fill it in
I have also tried if rs("thisfield") = "" then
but nothing is output. If I use 'if NOT rs("thisfield") = "" then response.write' on a row with data the response.write is printed so it is reading the row.
Am I having early morning stupidities?
Code:
if trim(rs("thisfield")) = null then
response.write "you need to fill in this field"
end if
I have also tried if rs("thisfield") = "" then
but nothing is output. If I use 'if NOT rs("thisfield") = "" then response.write' on a row with data the response.write is printed so it is reading the row.
Am I having early morning stupidities?