Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why can't I compare "" to ""?

Status
Not open for further replies.

joelwenzel

Programmer
Jun 28, 2002
448
I have a recordset which contains a record that might be a zero length string (""). However, recRecord("KEY") = "" does not return anything (neither true nor false) when recRecord("KEY") is empty.

Anyone know why?
 
Is it actually a zero length string or null..they are different..perhaps test using isnull(recRecord("KEY"))

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top