May 12, 2006 #1 alh1002 Technical User Joined Mar 27, 2006 Messages 41 Location US the excel equivalent of what I want if(a<b,a-b,0) how can i have that in sql (access) I am use to oracle where I can use decode but that doesn't work in access
the excel equivalent of what I want if(a<b,a-b,0) how can i have that in sql (access) I am use to oracle where I can use decode but that doesn't work in access
May 12, 2006 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR You wanted this ? IIf(a<b,a-b,0) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
You wanted this ? IIf(a<b,a-b,0) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886