I have a problem with my query in MS Access 2000. I need to select by the current date in database. I put either function date()
or now
and it doesn't work.
Here is my query:
SELECT TOP 100 PERCENT dbo.КАРНЕТ.НомКарнета, dbo.ФИРМА.НаимПредпр
FROM dbo.ФИРМА INNER JOIN
dbo.КАРНЕТ ON dbo.ФИРМА.КодПредпр = dbo.КАРНЕТ.КодПредпр
WHERE (dbo.КАРНЕТ.ДтСдачи = CONVERT(DATE, 'DATE()', 102))
GROUP BY dbo.КАРНЕТ.НомКарнета, dbo.ФИРМА.НаимПредпр;