View Full Version : Date filtering


kicker
10-01-2008, 01:39 AM
Hi,

I am trying to filter a range of dates. in a simple table I have created these fields: Client; StartDate; EndDate. and I am trying to filter the StartDate field, example from the 1st october to 31 of october 2008.

How can I accomplish this?

need help.

MStef
10-01-2008, 01:55 AM
You want to filter, but WHERE ??? In the form, in the query, ....??

khawar
10-01-2008, 02:04 AM
I think you want to do it in a query try the sql below


select
startdate,
enddate,
client
from clients
where
startdate between #10/01/2008# and #10/31/2008#

kicker
10-02-2008, 01:53 AM
OK i want to filter in a form.

I will try your suggestion now.


Thanx a lot.

MStef
10-02-2008, 02:06 AM
I suggest
to use FILTER BY FORM, CLEAR GRID, APPLY FILTER, REMOVE FILTER icons.