superfcbear
Technical User
I know this is at someone's fingertips....
Can I use and if/then/else in an update query? Or SQL code??
I would've used iif but then I have more than 2 conditions.
I need something like this:
if [Table1]![field1] = "y" then [Table2]![field1]=1
else if [Table1]![field1] = "n" then [Table2]![field1]=0
else [Table1]![field1] = null
THANK YOU SO MUCH!!!!!
Can I use and if/then/else in an update query? Or SQL code??
I would've used iif but then I have more than 2 conditions.
I need something like this:
if [Table1]![field1] = "y" then [Table2]![field1]=1
else if [Table1]![field1] = "n" then [Table2]![field1]=0
else [Table1]![field1] = null
THANK YOU SO MUCH!!!!!