Re: Nearest max date before a specified one
- From: "Frank" <frank673@xxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 16:38:39 -0600
Hi,
Thank you for the responses. I have noticed in both responses the letter "R"
after word FROM. What does this do? Thanks.
Frank
"John Spencer (MVP)" <spencer4@xxxxxxxxxxx> wrote in message
news:42B494CF.1EC27E65@xxxxxxxxxxxxxx
>
> SELECT Max(tblDates.dEntryDate) as MaxDate
> FROM R tblDates
> WHERE (((tblDates.dEntryDate)<CDate('1.1.2005')));
>
> Frank wrote:
>>
>> Hi,
>>
>> I am trying to create an SQL statement which would return to me the
>> maximum
>> date before a specified date. I was able to get a list of records with
>> dates
>> prior to the one I enter but not the last one. Can anyone help? Thanks.
>>
>> SELECT tblDates.dEntryDate
>> FROM R tblDates
>> WHERE (((tblDates.dEntryDate)<CDate('1.1.2005')));
>>
>> Frank
.
- Follow-Ups:
- Re: Nearest max date before a specified one
- From: John Spencer (MVP)
- Re: Nearest max date before a specified one
- From: Duane Hookom
- Re: Nearest max date before a specified one
- References:
- Nearest max date before a specified one
- From: Frank
- Re: Nearest max date before a specified one
- From: John Spencer (MVP)
- Nearest max date before a specified one
- Prev by Date: Expression help - query looks to subform
- Next by Date: Re: Nearest max date before a specified one
- Previous by thread: Re: Nearest max date before a specified one
- Next by thread: Re: Nearest max date before a specified one
- Index(es):
Relevant Pages
|