boblarson
04-30-2008, 01:30 PM
Okay, slowly I'm getting acclimated to this. Thanks to Kiwiman I managed to get my Update queries converted.
I have run into another issue that I've not yet faced. I need to convert the IIF statements in this (I know that I can use CASE and I've done that with a simple one, but with the OR's in this Having Clause I'm not sure exactly how to write it.
HAVING (((Sum(IIf([FINAL_DELIVERY]='X',0,[PO_QTY_SIZE]-[RECEIVED_QTY])))>0)
AND (([base - 7117 PO].PLANT)='1051')) OR
(((Sum(IIf([FINAL_DELIVERY]='X',0,[PO_QTY_SIZE]-[RECEIVED_QTY])))>0) AND
(([base - 7117 PO].PLANT)='1060'));
I have run into another issue that I've not yet faced. I need to convert the IIF statements in this (I know that I can use CASE and I've done that with a simple one, but with the OR's in this Having Clause I'm not sure exactly how to write it.
HAVING (((Sum(IIf([FINAL_DELIVERY]='X',0,[PO_QTY_SIZE]-[RECEIVED_QTY])))>0)
AND (([base - 7117 PO].PLANT)='1051')) OR
(((Sum(IIf([FINAL_DELIVERY]='X',0,[PO_QTY_SIZE]-[RECEIVED_QTY])))>0) AND
(([base - 7117 PO].PLANT)='1060'));