Re: records with current year
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Wed, 13 Aug 2008 22:12:44 -0500
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
.
- Follow-Ups:
- Re: records with current year
- From: aubrey
- Re: records with current year
- References:
- records with current year
- From: aubrey
- Re: records with current year
- From: Rick Brandt
- Re: records with current year
- From: aubrey
- records with current year
- Prev by Date: Re: Pulling the oldest date from range of dates
- Next by Date: Re: Query is Truncating Data
- Previous by thread: Re: records with current year
- Next by thread: Re: records with current year
- Index(es):
Relevant Pages
|