G
Guest
Good Day everyone
I have a problem with iif statement. What I am trying to do is find out if a
box is under 24" then it gets 1 (one) door else it gets 2 (two) doors.
I have one table that has 3(three) columns
CabinetId,CabinetCode,CabinetWidth
I can get this to work in excel but not in access
=If(CabinetWidyth<24,CabinetWidth-.1250,CabinetWidth/2-.1250)
this is the syntax that I have for this (in a query)
Door
WidthIIF([CabinetWidth]<24,[CabinetWidth]-.1250,[CabinetWidth]/2-.1250))
It produces an error# in Door Width column
What am I missing???
Thank You in advance
I have a problem with iif statement. What I am trying to do is find out if a
box is under 24" then it gets 1 (one) door else it gets 2 (two) doors.
I have one table that has 3(three) columns
CabinetId,CabinetCode,CabinetWidth
I can get this to work in excel but not in access
=If(CabinetWidyth<24,CabinetWidth-.1250,CabinetWidth/2-.1250)
this is the syntax that I have for this (in a query)
Door
WidthIIF([CabinetWidth]<24,[CabinetWidth]-.1250,[CabinetWidth]/2-.1250))
It produces an error# in Door Width column
What am I missing???
Thank You in advance