stephenk1973
Technical User
I am try completeing a calculation in the select part of the statement. If the amount transported against an order is greater than the order i would like to show 0 (i.e. i don't want o show a negative value). In Access my code would be something like .....
IIF(tblOrder.Q6=<tblTrans.Q6,0,tblOrder.Q6-tblTrans.Q6) AS OutstandingAmt
Unfortunately this doesn't translate across, how do i do this strSQL
Thanks
Stephen
IIF(tblOrder.Q6=<tblTrans.Q6,0,tblOrder.Q6-tblTrans.Q6) AS OutstandingAmt
Unfortunately this doesn't translate across, how do i do this strSQL
Thanks
Stephen