Need total of orders in report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In the report footer I inserted =Count([OrderID]). Instead of getting total
orders, I am getting the total of line items for those orders. The OrderID is
in a group named OrderID. I would appreciate it if someone would give me some
direction.
Thanks, Ron
 
"Total of orders"? Do you mean count the number of unique orders? If so, you
can add a text box to your OrderID group header:

Name: txtRunSumOrderID
Control Source: =1
Running Sum: Over All
Visible: No

Then, in your report footer, add a text box with a control source of:
Control Source: =txtRunSumOrderID
 
Thanks Duane
That was perfect.

Duane Hookom said:
"Total of orders"? Do you mean count the number of unique orders? If so, you
can add a text box to your OrderID group header:

Name: txtRunSumOrderID
Control Source: =1
Running Sum: Over All
Visible: No

Then, in your report footer, add a text box with a control source of:
Control Source: =txtRunSumOrderID

--
Duane Hookom
MS Access MVP

Ron Weaver said:
In the report footer I inserted =Count([OrderID]). Instead of getting
total
orders, I am getting the total of line items for those orders. The OrderID
is
in a group named OrderID. I would appreciate it if someone would give me
some
direction.
Thanks, Ron
 

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