G
Guest
How do I use IIF to do the following...
I have a query with a column header (field) titled "SCORE"
The values or (records) for score are "HIGH" or "LOW"
I want to include the "SCORE" field or column and...
Add a new column that converts the HIGH or LOW to a numerical value of "3"
or "1"
I tried using the following expression:
IIF([SCORE]="HIGH",1,IIF([SCORE]="LOW",1," "))
However, I got errors. I really don't know where this expression should by
typed into....do I type it into the "Field" row or the "Criteria" row of the
query design view?
Thanks!
I have a query with a column header (field) titled "SCORE"
The values or (records) for score are "HIGH" or "LOW"
I want to include the "SCORE" field or column and...
Add a new column that converts the HIGH or LOW to a numerical value of "3"
or "1"
I tried using the following expression:
IIF([SCORE]="HIGH",1,IIF([SCORE]="LOW",1," "))
However, I got errors. I really don't know where this expression should by
typed into....do I type it into the "Field" row or the "Criteria" row of the
query design view?
Thanks!