H
Hadi
Hello,
I have a query that combines 2 tables. one table has a field called Doc ID
and the other have a field called Cost Code. The relationship is one-to-many
where I have Many Cost Codes that rollup to one Doc ID. I am trying to
create a report from the query to show the total budgeted hours. I have hours
by Doc ID and not by Cost Code (kind of backwards). When I create the query,
i have one record of Doc ID's for each Cost Code. example,
Doc ID Cost Code Budget Hours
1 X 20
1 Y 20
2 A 30
2 B 30
So the total for my budget hours should be 20+30=50 not 100 which was the
query or the report come up with. How can I make the query or report add the
numbers for the Doc ID(which is my grouping band in the report) and not
duplicate the value.
Help is always appreciated
Thank you
I have a query that combines 2 tables. one table has a field called Doc ID
and the other have a field called Cost Code. The relationship is one-to-many
where I have Many Cost Codes that rollup to one Doc ID. I am trying to
create a report from the query to show the total budgeted hours. I have hours
by Doc ID and not by Cost Code (kind of backwards). When I create the query,
i have one record of Doc ID's for each Cost Code. example,
Doc ID Cost Code Budget Hours
1 X 20
1 Y 20
2 A 30
2 B 30
So the total for my budget hours should be 20+30=50 not 100 which was the
query or the report come up with. How can I make the query or report add the
numbers for the Doc ID(which is my grouping band in the report) and not
duplicate the value.
Help is always appreciated
Thank you