Re: Criteria for date
- From: Robin Chapple <robinski@xxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 10:44:48 +1000
On Tue, 26 Jul 2005 19:07:53 -0600, John Vinson
<jvinson@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>On Wed, 27 Jul 2005 10:26:50 +1000, Robin Chapple
><robinski@xxxxxxxxxxxxx> wrote:
>
>>IIf(Date()>DateSerial(Year(Date()),7,45),DateAdd("d",-45,Date()),DateSerial(Year(Date()),7,1))
>>And <=Date()
>>
>>I must be close.(I hope)
>
>Try putting the various expressions into vacant Field cells just to
>see what date is being returned:
>
>DateSerial(Year(Date()),7,45)
>DateAdd("d",-45,Date())
>IIf(Date()>DateSerial(Year(Date()),7,45),DateAdd("d",-45,Date()),DateSerial(Year(Date()),7,1))
>
>If you manually enter these dates into the >= and <= criteria what do
>you get?
>
i) 13/06/2005
ii) 14/08/2005
iii) 1/07/2005
The manual advice I don't understand.
Robin Chapple
My guess is >=13/06/2005 and <=14/08/2005
which I did not try because it is not what is intended.
Thanks,
Robin
> John W. Vinson[MVP]
.
- References:
- Criteria for date
- From: Robin Chapple
- Re: Criteria for date
- From: John Vinson
- Re: Criteria for date
- From: Robin Chapple
- Re: Criteria for date
- From: John Vinson
- Criteria for date
- Prev by Date: Re: Create Table in External DB
- Next by Date: Re: "Top Three Answers" on the board??
- Previous by thread: Re: Criteria for date
- Next by thread: Re: Criteria for date
- Index(es):
Loading