I'm having problems with the following syntax in a query. On trying to run the query, I get a message "The expression you entered has a function containing the wrong number of arguments."
Reqd:IIf(Sum([Qty]*(Sum([GroupQty])>Int(Sum(Qty)*(SumGroupQty)),Int((Sum(Qty)*(SumGr oupQty))+1),Int(Sum(Qty)*(SumGroupQty)))))
Can someone please help?