C
Caroline Middlebrook
Hi,
I'm working on a database for a drainage contractor. Part of the
database functionality is to be able to allocate staff to various jobs
that are running and then report on it. The way they work is to first
plan out jobs on a weekly basis and then go into more detail on a
daily basis. I have one table to represent the weekly plans which are
just an overview of the job being worked, the location they are at,
whether they are on a day or night shift and some other bits and bobs.
Then I have a table which represents a weekly plan which goes into
detail about which guys are working on which day, and what they are
doing.
The planning functionality works fine but I am having difficulties
when I try to report on it. For all of the reports, they want to see a
whole week at a glance, but they want to see the detail that is in the
daily table as well as the overview that is in the weekly table. The
way I have solved this up until now is to build an overview report and
then embdedd subreports to represent each day. Here's where I get
stuck. Each subreport represents a slice of data from just one day of
the week but I simply cannot find a way to tell each one only report
on a specific date. So what I have done is create seven different
subreports - Monday through to Sunday for each day of the week and
filter each one accordinly! It works but it seems crap. It wasn't too
bad when I only had one report like this but I now need to work on my
3rd - we're talking 21 subreports here when I'm sure there must be a
way to do it in 3!!
I hope I'm explaining myself properly. My problem seems to be that I
can't find a way to pass in a parameter to each instance of the
subreport. Any help would be greatly appreciated.
I'm using Access 2000 on Windows 2000.
Thanks,
Caroline M.
I'm working on a database for a drainage contractor. Part of the
database functionality is to be able to allocate staff to various jobs
that are running and then report on it. The way they work is to first
plan out jobs on a weekly basis and then go into more detail on a
daily basis. I have one table to represent the weekly plans which are
just an overview of the job being worked, the location they are at,
whether they are on a day or night shift and some other bits and bobs.
Then I have a table which represents a weekly plan which goes into
detail about which guys are working on which day, and what they are
doing.
The planning functionality works fine but I am having difficulties
when I try to report on it. For all of the reports, they want to see a
whole week at a glance, but they want to see the detail that is in the
daily table as well as the overview that is in the weekly table. The
way I have solved this up until now is to build an overview report and
then embdedd subreports to represent each day. Here's where I get
stuck. Each subreport represents a slice of data from just one day of
the week but I simply cannot find a way to tell each one only report
on a specific date. So what I have done is create seven different
subreports - Monday through to Sunday for each day of the week and
filter each one accordinly! It works but it seems crap. It wasn't too
bad when I only had one report like this but I now need to work on my
3rd - we're talking 21 subreports here when I'm sure there must be a
way to do it in 3!!
I hope I'm explaining myself properly. My problem seems to be that I
can't find a way to pass in a parameter to each instance of the
subreport. Any help would be greatly appreciated.
I'm using Access 2000 on Windows 2000.
Thanks,
Caroline M.