query to check if a certain field contains certain value, and return "yes" or "no"

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

Guest

If I wanted to check if a certain field contains certain value, and return
"yes" or "no", what would be the appropriate query?
 
IIf() does a True/False test and returns one value when True and another when
False. That would seem to fit perfectly with your request.

IIf([SomeField]=SomeValue, "Yes", "No")
 

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