Problems with totals on reports

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Hi,

I'm trying to create a report that has a grand total of one of my fields in
a query, could anybody help please?
 
Insert a report footer in the report and in the report footer insert a
textbox and use =SUM([YourFieldNameGoesHere]) to total that field across the
report.
 
Paul,
= Sum([YourField]) in the Report Footer would give the overall sum of YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum field name can not
be the same as the field name itself. ex. Name = SumOfYourField (right).... Name =
YourField (wrong)
 
Hi Al,

What do i do if the field is a calculated field?


Al Campagna said:
Paul,
= Sum([YourField]) in the Report Footer would give the overall sum of
YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum
field name can not be the same as the field name itself. ex. Name =
SumOfYourField (right).... Name = YourField (wrong)
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Paul said:
Hi,

I'm trying to create a report that has a grand total of one of my fields
in a query, could anybody help please?
 
You can place the calculation in a SUM. So if you have a price and quantity
field, the line item is calculated as
=[Price]*[Quantity]

In the Report footer insert a text box and use the following formula:

=SUM([Price]*[Quantity])

--
Kevin Backmann


Paul said:
Hi Al,

What do i do if the field is a calculated field?


Al Campagna said:
Paul,
= Sum([YourField]) in the Report Footer would give the overall sum of
YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum
field name can not be the same as the field name itself. ex. Name =
SumOfYourField (right).... Name = YourField (wrong)
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Paul said:
Hi,

I'm trying to create a report that has a grand total of one of my fields
in a query, could anybody help please?
 
Hi Kevin,

Can I post you my database on here for you to take a look at it quickly?

Regards,

Paul E.

Kevin B said:
You can place the calculation in a SUM. So if you have a price and
quantity
field, the line item is calculated as
=[Price]*[Quantity]

In the Report footer insert a text box and use the following formula:

=SUM([Price]*[Quantity])

--
Kevin Backmann


Paul said:
Hi Al,

What do i do if the field is a calculated field?


Al Campagna said:
Paul,
= Sum([YourField]) in the Report Footer would give the overall sum
of
YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum
field name can not be the same as the field name itself. ex. Name =
SumOfYourField (right).... Name = YourField (wrong)
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Hi,

I'm trying to create a report that has a grand total of one of my
fields
in a query, could anybody help please?
 
I won't be able to get the database through the firewall at my current
location, but if you look at my profile you can pretty much figure out my
home email address. I won't be able to review it until sometime this evening
though.
--
Kevin Backmann


Paul said:
Hi Kevin,

Can I post you my database on here for you to take a look at it quickly?

Regards,

Paul E.

Kevin B said:
You can place the calculation in a SUM. So if you have a price and
quantity
field, the line item is calculated as
=[Price]*[Quantity]

In the Report footer insert a text box and use the following formula:

=SUM([Price]*[Quantity])

--
Kevin Backmann


Paul said:
Hi Al,

What do i do if the field is a calculated field?


Paul,
= Sum([YourField]) in the Report Footer would give the overall sum
of
YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum
field name can not be the same as the field name itself. ex. Name =
SumOfYourField (right).... Name = YourField (wrong)
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Hi,

I'm trying to create a report that has a grand total of one of my
fields
in a query, could anybody help please?
 
Paul,
Did you try Kevin's solution?
Another solution is to create a calculated field in the query behind the report.
Take an empty column in the Query Design Grid.
In the Field, put this...
LineTotal : [Price] * [Qty]
LineTotal is now a "bound" field, and can be placed on the report in place of your
old calculated field of = [Price] * [Qty]
Now...
= Sum([LineTotal])
will add up all the individual line items in any GroupFooter, or ReportFooter.
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Paul said:
Hi Kevin,

Can I post you my database on here for you to take a look at it quickly?

Regards,

Paul E.

Kevin B said:
You can place the calculation in a SUM. So if you have a price and quantity
field, the line item is calculated as
=[Price]*[Quantity]

In the Report footer insert a text box and use the following formula:

=SUM([Price]*[Quantity])

--
Kevin Backmann


Paul said:
Hi Al,

What do i do if the field is a calculated field?


Paul,
= Sum([YourField]) in the Report Footer would give the overall sum of
YourField.

[YourFieldName] must be a bound, non-caclculated field, and that sum
field name can not be the same as the field name itself. ex. Name =
SumOfYourField (right).... Name = YourField (wrong)
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

Hi,

I'm trying to create a report that has a grand total of one of my fields
in a query, could anybody help please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top