Aug 17, 2005 #1 leadpro Technical User Jan 7, 2005 34 US I have a field I'm trying to update incrementally. Here's what I came up with, but it only updates to -1. When SoldTimes=-2, it stays at -1. IIf([SoldTimes]=0,-1,"") Or IIf([SoldTimes]=-1,-2,"") Or IIf([SoldTimes]=-2,-3,"")
I have a field I'm trying to update incrementally. Here's what I came up with, but it only updates to -1. When SoldTimes=-2, it stays at -1. IIf([SoldTimes]=0,-1,"") Or IIf([SoldTimes]=-1,-2,"") Or IIf([SoldTimes]=-2,-3,"")
Aug 17, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR IIf([SoldTimes]=0,-1,IIf([SoldTimes]=-1,-2,IIf([SoldTimes]=-2,-3,Null))) 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
IIf([SoldTimes]=0,-1,IIf([SoldTimes]=-1,-2,IIf([SoldTimes]=-2,-3,Null))) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886