Re: Today's date + 21 days
- From: Pyrite <Pyrite@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 Sep 2008 05:27:01 -0700
Ignore the last, I have just done it in the SQL view as you obviously
originally intended.
"Pyrite" wrote:
Hmm,.
I am trying to implement this is the design view of the query on the
criteria line. I cant seem to get it to work. Where would I write your
statement?
I currently have "2" in the cirteria line underneath 'returned'. What would
go in the criteria line underneath 'Date Sent'? I know they need to go on the
same criteria line to be an AND statement.
"Graham R Seach" wrote:
Yes, you're right, but I think you mean...
AND DateSent > Date() - 21
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
"Rick Brandt" <rickbrandt2@xxxxxxxxxxx> wrote in message
news:t1syk.94$ZP4.40@xxxxxxxxxxxxxxxxxxxxxxx
Graham R Seach wrote:
WHERE Returned = 2 AND DateSent+21 < Date()
Better (performance-wise) would be...
WHERE Returned = 2
AND DateSent < Date() -21
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
- References:
- Today's date + 21 days
- From: Pyrite
- Re: Today's date + 21 days
- From: Graham R Seach
- Re: Today's date + 21 days
- From: Rick Brandt
- Re: Today's date + 21 days
- From: Graham R Seach
- Re: Today's date + 21 days
- From: Pyrite
- Today's date + 21 days
- Prev by Date: RE: glitch in grid
- Next by Date: Re: Either/Or
- Previous by thread: Re: Today's date + 21 days
- Next by thread: Re: Today's date + 21 days
- Index(es):
Relevant Pages
|