AND in query expression

G

Garry

Hi all

Can someone tell me where I am going wrong with the following query
expression

Rate: IIf([X]=25 And [Y]=1 And [Z]=1,"Red","Blue")

Getting error message

Thanks, Garry
 
G

Garry

In the select query window it just says Rate: #Error

Rick B said:
What does the error say?

--
Rick B



Garry said:
Hi all

Can someone tell me where I am going wrong with the following query
expression

Rate: IIf([X]=25 And [Y]=1 And [Z]=1,"Red","Blue")

Getting error message

Thanks, Garry
 
O

OfficeDev18 via AccessMonster.com

what's the error msg?
Hi all

Can someone tell me where I am going wrong with the following query
expression

Rate: IIf([X]=25 And [Y]=1 And [Z]=1,"Red","Blue")

Getting error message

Thanks, Garry
 
Top