G
Guest
I am trying to create a query that will show data for the the previous 7
days, but not the current day.
days, but not the current day.
[MVP] S.Clark said:Select * from tablename where [somedatefield] between (date - 8) and
(date -1)
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Dan Kelly said:I am trying to create a query that will show data for the the previous 7
days, but not the current day.
[MVP] S.Clark said:Select * from tablename where [somedatefield] between (date - 8) and
(date -1)
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Dan Kelly said:I am trying to create a query that will show data for the the previous 7
days, but not the current day.
[MVP] S.Clark said:Select * from tablename where [somedatefield] between (date - 8) and
(date -1)
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Dan Kelly said:I am trying to create a query that will show data for the the previous 7
days, but not the current day.
Dan Kelly said:Ok, I tried the following but got a syntax error:
Select* from [dbo_BREW_DAYAVG] where [timestamp] between (date - 8) and
(date -1)
I'm sure you can tell I am new to this. Thanks for your help.