strSQLcount = "SELECT DATE,count(date) FROM POCHANGE WHERE CHGTYP = '2' AND PONUM='" & ponum1 & "'"
produces this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] You tried to execute a query that does not include the specified expression 'PONUM' as part of an aggregate function.
I have read and tried every suggestion that is posted regarding "count" and cannot get anything to work...I am sure something small is stopping me, but.........
produces this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] You tried to execute a query that does not include the specified expression 'PONUM' as part of an aggregate function.
I have read and tried every suggestion that is posted regarding "count" and cannot get anything to work...I am sure something small is stopping me, but.........