What I have done in the past is create a table with all dates (tblAllDates
and field TheDate). Consider starting with a query that creates separate
records for each date.
Something like:
SELECT Name, BeginAbs, EndAbs,
tblAllDates.TheDate
FROM tblAllDates, tblAbss
WHERE (((tblAllDates.TheDate) Between [BeginAbs] And [EndAbs]));

Signature
Duane Hookom
MS Access MVP
> Hello everybody,
> I have in a table the saved absences of persons. So:
[quoted text clipped - 12 lines]
> Thanks
> Mario
Mario Krsnic - 19 May 2005 09:15 GMT
> What I have done in the past is create a table with all dates (tblAllDates
> and field TheDate). Consider starting with a query that creates separate
> records for each date.
Sorry. I did not understand. How do you mean the dates enter the table
tblAllDates?
Now I have BeginAbs, EndAbs for a certain person and I have an empty table
tblAllDates. I need the dates in the table tblAllDates to be able to perform
your query?!
Cheers
Mario
> Something like:
> SELECT Name, BeginAbs, EndAbs,
[quoted text clipped - 18 lines]
> > Thanks
> > Mario
Duane Hookom - 20 May 2005 04:48 GMT
You need to fill the table tblAllDates with every possible date in your
application. You can use code to append the records or possibly create them
in Excel and paste them into the table.

Signature
Duane Hookom
MS Access MVP
>> What I have done in the past is create a table with all dates
>> (tblAllDates
[quoted text clipped - 32 lines]
>> > Thanks
>> > Mario