A
Anonymous
I'm creating a read-only form or any other way to pop up a window that
shows the records in my table in an Excel-like format, so I'm working on
the underlying query for it. Example follows:
Source data table is tbl_Absences:
----------------------------------------------------
fld_Clock# fld_StartDate fld_EndDate fld_AbsenceType
7 01/05/06 01/05/06 "L"
40 01/02/06 01/03/06 "V"
----------------------------------------------------
qry_Absences_Schedule end-result, I hope:
----------------------------------------------------
Emp# Emp#
7 40
01/01/06
01/02/06 V
01/03/06 V
01/04/06
01/05/06 L
01/06/06
----------------------------------------------------
I'm not even sure how to start... how do I get a query to kick out all the
dates within a date-range? A month at a time would be ideal...
I'm guessing eventually it'll have to be a crosstab query but 'ell if I
know at which point I have to make it be a crosstab query.... this'll
probably be the most compicated query I've had to make yet.
Jeff
shows the records in my table in an Excel-like format, so I'm working on
the underlying query for it. Example follows:
Source data table is tbl_Absences:
----------------------------------------------------
fld_Clock# fld_StartDate fld_EndDate fld_AbsenceType
7 01/05/06 01/05/06 "L"
40 01/02/06 01/03/06 "V"
----------------------------------------------------
qry_Absences_Schedule end-result, I hope:
----------------------------------------------------
Emp# Emp#
7 40
01/01/06
01/02/06 V
01/03/06 V
01/04/06
01/05/06 L
01/06/06
----------------------------------------------------
I'm not even sure how to start... how do I get a query to kick out all the
dates within a date-range? A month at a time would be ideal...
I'm guessing eventually it'll have to be a crosstab query but 'ell if I
know at which point I have to make it be a crosstab query.... this'll
probably be the most compicated query I've had to make yet.
Jeff