This topic is locked

Date Range - current week

11/28/2007 3:57:34 PM
PHPRunner General questions
J
jskewes author

Hello Listers,

I have a database listing cars. I want a tab that shows vehicles 'inputed' in the last 7 days.

Can anyone help me with this statement?

Thanks in advance.

/john
select [ID],

[Series],

[ST#],

[YEAR],

[MODEL],

[MILES],

[COLOR],

[INTERIOR],

[TRANS],

[OPTIONS],

[OPTIONS2],

[OPTIONS3],

[OPTIONS4],

[OPTIONS5],

[OPTIONS6],

[CPO],

[PRICE],

[NOTES],

[Inputed]

From [USED INVENTORY]

J
Jane 11/29/2007

Hi,
try to use this query:

select [ID],

[Series],

[ST#],

[YEAR],

[MODEL],

[MILES],

[COLOR],

[INTERIOR],

[TRANS],

[OPTIONS],

[OPTIONS2],

[OPTIONS3],

[OPTIONS4],

[OPTIONS5],

[OPTIONS6],

[CPO],

[PRICE],

[NOTES],

[Inputed]

From [USED INVENTORY]

where [Inputed]>=NOW()-7

J
jskewes author 11/29/2007

Perfect - thank you Jane.

Hi,

try to use this query: