E
Ezekiël
Hi,
I was wondering is it possible to get a resultset of records by using a
daterange? I know between ... and ... will give me results.
But how about if a date lies in the future and you want a range of the first
and last day of the current year to also include the future date.
e.g. : criteria is >= first day (01-01-2004), <= last day (31-12-2004)
some records: from 10-01-2004 to 30-09-2004
from 01-01-2004 to 01-01-2010
from 01-12-1993 to 26-12-2004
in the results, all records must be included because all records occur in
the current year, but how can i set this in a query?
I was wondering is it possible to get a resultset of records by using a
daterange? I know between ... and ... will give me results.
But how about if a date lies in the future and you want a range of the first
and last day of the current year to also include the future date.
e.g. : criteria is >= first day (01-01-2004), <= last day (31-12-2004)
some records: from 10-01-2004 to 30-09-2004
from 01-01-2004 to 01-01-2010
from 01-12-1993 to 26-12-2004
in the results, all records must be included because all records occur in
the current year, but how can i set this in a query?