compare two fields

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there, I have a query to compare two different fields, state and
originalstate. It works fine if the data is changed, but the query does not
include records where one of the fields is null. How do I include the null
values?

Thanks
 
Try this:

Nz([state],"")
Nz([originalstate],"")

I am assuming they are both text fields, if they are number, replace "" with 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top