M
me
Hello,
I cannot select records of a given day:
SELECT DISTINCT [X], COUNT([X]) AS Y FROM [tbl] WHERE (Format([myDateTime],
'Short Date') = ?) GROUP BY [X];
Parameter value "myDateTime": #7/10/2008#
If I use the following query with the ISO format all works well:
SELECT DISTINCT [X], COUNT([X]) AS Y FROM [tbl] WHERE (Format([myDateTime],
'Short Date') = #2008-07-10#) GROUP BY [X];
The myDateTime column has values like:
10.07.2008 20:05:16
Thank you.
I cannot select records of a given day:
SELECT DISTINCT [X], COUNT([X]) AS Y FROM [tbl] WHERE (Format([myDateTime],
'Short Date') = ?) GROUP BY [X];
Parameter value "myDateTime": #7/10/2008#
If I use the following query with the ISO format all works well:
SELECT DISTINCT [X], COUNT([X]) AS Y FROM [tbl] WHERE (Format([myDateTime],
'Short Date') = #2008-07-10#) GROUP BY [X];
The myDateTime column has values like:
10.07.2008 20:05:16
Thank you.