John W. Vinson wrote:
> On Wed, 29 Oct 2008 16:55:21 -0400, MikeR <(E-Mail Removed)> wrote:
>
>> I have a need to select records that have a date/time field, but I am only supplied
>> with a date. Is there something more elegant than "Select Mgr, LDate, CaseNum from
>> Log Where LDate BETWEEN #01-01-2008 00:00:00# AND #01-01-2008 11:59:59#"
>>
>> Thanks,
>> Mike
>
> I'd use a Form with an unbound textbox txtDate, and a criterion like
>
>> = CDate([Forms]![YourForm]![txtDate] AND < DateAdd("d", 1, CDate([Forms]![YourForm]![txtDate]))
>
Thanks, John -
My apologies, I should have been more specific.
I've got a Jet BE and Delphi front end. What I need is a SQL select query, returning
a recordset.
|