Connecting Tech Pros Worldwide Help | Site Map

Limiting a query using date

  #1  
Old November 13th, 2005, 05:04 AM
Paul
Guest
 
Posts: n/a
how should i format the conditional parameter on the WHERE clause to
limit the query on a date field.

Let say I want to limit the query from today up to a month back, or
today up to 20 days back.

Any ideas will be appreciated. Thank you.
  #2  
Old November 13th, 2005, 05:04 AM
Fred Zuckerman
Guest
 
Posts: n/a

re: Limiting a query using date


"Paul" <pcma10019@yahoo.com> wrote in message
news:78cbf985.0411020855.22ccf94d@posting.google.c om...[color=blue]
> how should i format the conditional parameter on the WHERE clause to
> limit the query on a date field.
>
> Let say I want to limit the query from today up to a month back, or
> today up to 20 days back.
>
> Any ideas will be appreciated. Thank you.[/color]


WHERE [Mdate]>=Date()-20
Fred Zuckerman


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a form based on a crosstab query? (I don't know howmany columns there will be!) Paul H answers 8 June 27th, 2008 08:23 PM
Problem with my chart in MS Access 2002 using a form and VB StBond answers 3 November 13th, 2005 02:04 PM
query to define current week? deko answers 14 November 12th, 2005 05:30 PM
Limiting Records in a Query Using Max Shaiguy answers 3 November 12th, 2005 02:07 PM