L
Leao via AccessMonster.com
Hello all,
Ok, first things first, thanks for your help whoever you are, I have looked
thru this board enough to know that the help given here is first class and
very professional.
That said. I am trying to generate a report that displays a volume and a
couple of dates. I want to use a combo box to choose which Area will be in
the calculation. Each Area is divided into different Sites. I have two tables
with the Area as the Parent joined to the other table with the Sites as the
child using a one-to-many join (one Area to many Sites). I want to total all
the Sites volumes from a field in the Sites table and display one volume for
the entire Area. I get multiple reports now, (the same number Sites within
the Area). I need one report that displays the total volume and also provides
the dates the work started in the Area (based on a field in the Sites table)
and the date work is finished in the Area (also a field in the Sites table).
I know the ending date will need to be based on a statement that is something
like If field is null display nothing else display last date. One other
problem is that some of the Sites are in two different Areas. Say there is a
Site called QQ- 1A thru QQ-4A, well QQ-1A is in area ZZ but the other three
Sites are in Area WW, I just want the volume total for the Sites in each Area.
I thought about using an update query to store the totals in the Area table
in a new field, but after reading thru this board I learned that is not wise,
but to just have the query do all the work each time it is run. So now I am
stuck on which way to turn and hwo best to proceed.
Leao
Ok, first things first, thanks for your help whoever you are, I have looked
thru this board enough to know that the help given here is first class and
very professional.
That said. I am trying to generate a report that displays a volume and a
couple of dates. I want to use a combo box to choose which Area will be in
the calculation. Each Area is divided into different Sites. I have two tables
with the Area as the Parent joined to the other table with the Sites as the
child using a one-to-many join (one Area to many Sites). I want to total all
the Sites volumes from a field in the Sites table and display one volume for
the entire Area. I get multiple reports now, (the same number Sites within
the Area). I need one report that displays the total volume and also provides
the dates the work started in the Area (based on a field in the Sites table)
and the date work is finished in the Area (also a field in the Sites table).
I know the ending date will need to be based on a statement that is something
like If field is null display nothing else display last date. One other
problem is that some of the Sites are in two different Areas. Say there is a
Site called QQ- 1A thru QQ-4A, well QQ-1A is in area ZZ but the other three
Sites are in Area WW, I just want the volume total for the Sites in each Area.
I thought about using an update query to store the totals in the Area table
in a new field, but after reading thru this board I learned that is not wise,
but to just have the query do all the work each time it is run. So now I am
stuck on which way to turn and hwo best to proceed.
Leao