First you said that active is -01 but your IIF statement as 01. Which is it?
Second, is it a number or text or boolean? Respectively,
Active: IIF([Active]=-1,"Active", "Inactive")
Active: IIF([Active]="-01","Active", "Inactive")
Active: IIF([Active]=TRUE,"Active", "Inactive")
In Access booleans, -1 is TRUE and 0 is FALSE.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|