Solved

continuous forms (Access) grand total

Posted on 2004-09-29
4
403 Views
Last Modified: 2012-05-05
Hi there,

I have a telephone order database which I need to compile monthly stats from.

I have created a query which asks for a date range which it then displays in a continuous form.  

Now - I need it to give me a grand total for the whole range - but all I can get is a total for that LINE in the totals box I created in the form footer.

How can I get it to do a grand total for the entire range?  On each line there is 4 x fields for product price and then a delivery price box.  Each line needs to be totalled and then the entire rangethat is displayed.  
0
Comment
Question by:herbacious
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 125 total points
ID: 12179742
Hello herbacious,


In the form footer add a texbox and type the formula into it:
=sum([yourfieldnamehere])

Do this for each field you want to sum.

To total an individual line in the delivery price box type a formula:
= field1 + field 2 + field3 + field4
using your own field names, of course.

If you want a grand total of this you need another box in the form footer with the formula:

=Sum(field1 + field 2 + field3 + field4)


Pete
0
 

Author Comment

by:herbacious
ID: 12180295
Thanks Pete

I got the first part working - totalling up each column at the bottom

So, I have at the bottom in the footer a total for each column - but when I try and total up these totals - it brings an error display in the text box - and then all of the above totals that were working fine up to that point!!!

I think it could be the exact syntax of what I am putting in.  

Whats the easiest way of putting this expression into the box?  Is the code builder the best?  

What syntax do I need to enter in the grand total box?

I tried =Sum([price1total]+[price2total]+[deliverypricetotal]) - but this brought the above error.  

Any clues?  
0
 

Author Comment

by:herbacious
ID: 12180319
Pete,

SORTED!!!!!

God knows what I was doing - But I just had a coffee and a fag - came back to it - tried it again and its working (like a dream).

Thanks mate!
0
 

Author Comment

by:herbacious
ID: 12188030
oh - by the way - fag means "cigarette" in the UK.  

If your not from the UK.  
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question