Hello I have the statement below that works fine again MS Access table, however it gives me the attached error message when running against a linked ODBC connection to SQL of the same table. How can I fix this?
![Error message]()
SELECT BMPDATA.Battery, Count(BMPDATA.Battery) AS Deployments, Count([NoSample]="Dead Battery") AS Dead
FROM BMPDATA
GROUP BY BMPDATA.Battery;
Sum(Abs([NoSample]="Dead Battery"))
/gustav