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")
 
Back
Top