trying to run a query to generate previous CO Sum values. Wrote the query below to do this and it doesn't work... please check it out and let me know what I did wrong.
SELECT Sum(IIf([forms]![Main sub co Fm].[combo27]=1,0,[value $])) AS [Previous CO]
FROM [Sub CO All Q]
WHERE ((([Sub CO All...