The idea is simple - record when personnel are on holiday, on sick leave or
absent for any other reason and then display this information on a Gantt chart
where the user can choose the period covered by the chart.
The solution involves the following steps:-
- Record absences in a linked table with one record per absence, storing start and
end dates of each absence.
- Accept start and finish dates for the Gantt chart from the user.
- Programatically create a table to store data appropriate for the Gantt chart.
- Populate the temporary table.
- Programatically create an Access report with textbox controls for each day in
the period being displayed.
- Point the report at the temporary table and format the textboxes so that
texboxes' background colours reflect their contents.
Oh, .. and get round all the quirky, illlogical, infuriating and totally daft
peculiarities which are what make Access such a joy to use...
See the solution >