Sep 27, 2006 #1 wdverner Technical User Mar 10, 2005 160 GB Hi All Quick Question I have this calculation Per: [SM]/[TW] What i want to do is before i do this, check if TW is zero- if it is then Perf=0 else carry out the operation.. Whats my best way of achieving this? Many Thanks to all.
Hi All Quick Question I have this calculation Per: [SM]/[TW] What i want to do is before i do this, check if TW is zero- if it is then Perf=0 else carry out the operation.. Whats my best way of achieving this? Many Thanks to all.
Sep 27, 2006 1 #2 PHV MIS Nov 8, 2002 53,708 FR Per: IIf(Nz([TW],0)=0,0,[SM]/[TW]) 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
Per: IIf(Nz([TW],0)=0,0,[SM]/[TW]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Sep 27, 2006 Thread starter #3 wdverner Technical User Mar 10, 2005 160 GB the legend that is PHV. Upvote 0 Downvote