why?

quantz

New member
Local time
Today, 03:37
Joined
Jan 1, 2003
Messages
8
iii...
i have one problem in date query...
i try to list the date between start date and end date....
i used this statement:
between [start Date] and [end date]
but i get only item on the start date and end date not the item between the date...
why this happen can anybody help me..
for your information my date field is name as myDate..
please:confused:
 
Hi Quantz,

I had a similar problem.

try this:

Is Not Null And Between [Forms]![name of form]![BeginningDate] And [Forms]![name of form]![EndingDate]

but make sure it's all on the same line.

Hope that helps
 
It works fine for me.

Have you got your date formats correct, e.g. Us or non-US format
 
Is the Between [StartDate] And [EndDate] on the criteria line of your Date Field?
 
yes.

you might also want to refer to the 'Sales by Year' form of the Northwind Database sampel database that may be on your computer.
 
this always works for me

>=[start date] and <=[End date]
 

Users who are viewing this thread

Back
Top Bottom