Re: records with current year
- From: aubrey <aubrey@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 10:01:02 -0700
WORKS GREAT.
Thanks alot.
"Rick Brandt" wrote:
aubrey wrote:.
"Rick Brandt" wrote:
WHERE [DATE CERTIFIED] >= DateSerial(Year(Date())-3,1,1)
AND [DATE CERTIFIED] < DateSerial(Year(Date())-2,1,1)
Don't apply criteria to an expression if you can avoid it.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
sorry for the ignorance, but where should i be entering that
expression
Under the field [DATE CERTIFIED] in the query designer enter in the criteria
row...
= DateSerial(Year(Date())-3,1,1) AND < DateSerial(Year(Date())-2,1,1)
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
- References:
- records with current year
- From: aubrey
- Re: records with current year
- From: Rick Brandt
- Re: records with current year
- From: aubrey
- Re: records with current year
- From: Rick Brandt
- records with current year
- Prev by Date: Re: Query for Date Range
- Next by Date: Re: Over Production orders on a query
- Previous by thread: Re: records with current year
- Next by thread: Default dates in parameter values
- Index(es):
Relevant Pages
|