4

I'm working on a query in Access 2010 and need help.

  • If the value is =0 I want it to show as blank,
  • if the value is <500 I want it to show as "B",
  • if the value is >500 I want it to show as "R"
marc_s
  • 9,052
  • 6
  • 46
  • 52
Julius
  • 43
  • 2

1 Answers1

7

Try:

IIf([value] = 0, "", IIf([value] < 500, "B", "R"))

IIf is a function that returns on of two values depending on the outcome of the conditional.

Hannah Vernon
  • 70,928
  • 22
  • 177
  • 323