Question : In Access how can i have a value returned based on a value present.

I have a query with a field named "QTY" I would like the value present evaluated so if it equal to 31 or greater then the value returned would be "Y". But if less than 31 then return the actual value present.

Thank you.

Answer : In Access how can i have a value returned based on a value present.

Oops:

SELECT iif(qty<=31,qty,"Y") FROM myTable;
Random Solutions  
 
programming4us programming4us