Access SQL statement to query the current day -
i'm working access database school , i'm trying figure out how pull of transactions current day without having manually change date range. current query is:
select count (custid) [number of transactions] [transaction] date=_____
so there way have access pull date machine , use that?
thanks in advance!
the getdate() equivalent in access now().
if format date column short date, format short date, equivalent.
select count (custid) [number of transactions] [transaction] format (date, "short date") = format(now(), "short date")
Comments
Post a Comment