IIF Statements Using Queries

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

Guest

I am starting a second query, and the data I am using is my first query which
contains 15 fields. I have a column that is labeled years in this query. I
want to creat a statement so when the number of years is between 0-1 it shows
0, when its between 1-2 it shows 1, when it is between 2-3 it shows 2 and so
on...I know what all the functions mean, I just do not know how to create
this statement to satisfy what I am looking for.

Thanks
 
No Limit,

Probably the Int() function is what you are looking for. Something like
this...
BareYears: Int([Years])
 
Back
Top