access database training - inserting totals report
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access database training - Inserting Totals in a Report ( Access )

access database training - Inserting Totals in a Report ( Access )

resolvedResolved · Low Priority · Version Standard

replyReplyWed 4 Apr 2007, 21:16Delegate Colin said...

Inserting Totals in a Report ( Access )


Ok, need your help. I have taken a Text box for my Report Footer and inserted =Sum([exp]) in Control Source property...however am getting back #Error when I run the report.

Am I to put in another instruction in order to generate this .... ??

Help am really stuck,

Cheers,

Colin

For upcoming training course dates see: Pricing & availability

replyReplyThu 5 Apr 2007, 12:33Trainer Rich said...

RE: Inserting Totals in a Report ( Access )

Colin,

Often when creating reports with lists of transactions it can be useful to have a column which totals the transactions as the report progresses.

Using the Sum function gives the total for the whole group, not a running total.

Access provides an easy method of achieving a running total.

Click on the text box containing the data you wish to contain the running total.
Select the Data tab
Click in the Running sum option
Click the down arrow to view three options
No - This Item is not a running total
Over Group - This Item is a running total which will reset to zero with each new group value
Over All - This Item is a running total which will total over the whole report

Let me know if this fixes the problem.

Regards, Rich

replyReplyTue 10 Apr 2007, 15:14Delegate Colin said...

RE: Inserting Totals in a Report ( Access )

Hello Rich,

Thank you for your support on this. Alas this still result in #Error , I tried Over Group as well as Over All ...same thing.

In the Control Source in the Data tab I inserted = Sum([Value of Waiver]) ... so I suspect that there maybe a missing element to all of this...any clues ?.

Cheers,

Colin

replyReplyWed 11 Apr 2007, 12:02Trainer Richard said...

RE: Inserting Totals in a Report ( Access )

Hi Colin

Are you entering the actual field name in the formula.

ie: =sum([revenue])

unless you do this, access does not know what data to sum.

"Exp" means expression. It is the default placeholder for this formula

replyReplyWed 11 Apr 2007, 12:55Delegate Colin said...

RE: Inserting Totals in a Report ( Access )

Hello Richard,

Thanks for your help. I made sure to be careful with the field name and found that if I put in Running Sum " Over Group " it puts in a total for each record ; whereas if I set it to " Over All " it would appear that it is pulling in figures from other fields ( I think ? ) to come up with numbers for each record that just do not tally .. if that makes any sense.

Ultimately I would like to put a Total in the footer of the report but think it is wise to try and sort this out first.

At least I do not get Error any more ...thanks very much.

Cheers,

Colin

replyReplyThu 19 Apr 2007, 09:21Trainer Carlos said...

RE: Inserting Totals in a Report ( Access )

Is the [exp] a field name from the report?

If not you need to replace the word exp with the name of the field to be calculated

eg:

To add all the [Quantity] values write it as

=Sum([Quantity])

replyReplyThu 19 Apr 2007, 13:05Delegate Colin said...

RE: Inserting Totals in a Report ( Access )


Thank you Carlos,

Yes, I certainly did. What I am noticing is that it will give me totals but at each record, rather than just one total at the bottom of the page. I am assuming there is some grouping feature that I have to tick or activate to stop this ?.

replyReplyWed 25 Apr 2007, 09:46 Edited on Wed 25 Apr 2007, 09:48Trainer Carlos said...

RE: Inserting Totals in a Report ( Access )

Colin

If the Sum expression has been placed in the Report Footer area of the report it should produce only ONE result (Imediately after the last record).

However if you placed the Sum expression in the Group Footer area, it will place the total after every record unless you group the data.

To group data on a report that has already been created, make sure you have a group header section in the design view and move the value you want to group by into it.

To Edit a Grouping:

View/Sorting And Grouping OR

Click the Sorting And Grouping button on the toolbar


Carlos

replyReplyWed 9 May 2007, 18:49Delegate Colin said...

RE: Inserting Totals in a Report ( Access )

Thank you Carlos, happy to say it worked !!.

Really appreciated your patience and help.

Cheers,

Colin

 

 

Access tip:

How To Find All Overdue Accounts?

To find overdue accounts create a filter that compares today's date with the Invoice Date in the table. To do this:

1. Open the Query in Design View
2. Select the field for the filter and in the criteria row enter:

<Date()

This filter returns records where the Invoice Date is before today's date.

This filter can be manipulated if, for instance, Invoices are due 15 days after the Invoice Date. For this the filter would be:

<Date()-15

This filter returns records where the Invoice Date is 15 days before today's date.

View all Access hints and tips

forum postWhat is variable?

» Forum post: Variable


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training