advanced microsoft access courses in london - cumulative total query
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 » advanced microsoft access courses in london - Cumulative Total Query

advanced microsoft access courses in london - Cumulative Total Query

resolvedResolved · Low Priority · Version Standard

replyReplyMon 19 Mar 2007, 12:29Delegate Caroline said...

Cumulative Total Query

Hi,

I am trying to produce a cumulative total in a query. I am using the DSum function and I can get this to work if I want to compare the ID number and add up totals in this order, but what I really need is to be able to compare dates and add up values in order of the date the action is expected to be completed:

I have three columns in this query - Value (the cost that I want to produce my cumulative total from), the cost ID (the primany key), and the expected cost date (the date the cost is due to come in)

I am hoping to use this query to produce a graph in a report to show how the costs spent over time.

This is the expresion i'm using:

Total Cost: DSum("[Value]","[CostsTable]","[Expected Cost Date] >=" & [InstallTable]![Circuit Expected Live Date])

If I exchange Expected Cost Date with the Cost ID then I can get this to add up, although not in the order I'm hoping to get. But when I use the Expected Cost Date I get blank cells.

Please can you let me know what I am doing wrong with this expresion?

Many thanks,
Caroline

For upcoming training course dates see: Pricing & availability

replyReplyThu 29 Mar 2007, 12:29Trainer Garry said...

RE: Cumulative Total Query

make sure it is simular to this

"'[Expected Cost Date]'">=

replyReplyThu 29 Mar 2007, 14:25Delegate Caroline said...

RE: Cumulative Total Query

Hi Garry,
Thank you but I still cannot get an answer from this.. Could you write out the whole formula for me, please?
Thanks!
Caroline

replyReplyThu 5 Apr 2007, 13:22Trainer Rich said...

RE: Cumulative Total Query

Hi Caroline,

I think what he meant was, instead of your original:
DSum("[Value]","[CostsTable]","[Expected Cost Date] >=" & [InstallTable]![Circuit Expected Live Date])

Change it to:
DSum("[Value]","[CostsTable]","'[Expected Cost Date]'">= & [InstallTable]![Circuit Expected Live Date])

Your code had the double quote after the greater-than-or-equal-to sign.

He also seems to have added single quotes in between the double quotes and square brackets... that may be important too.

Let us know how you go.

Regards, Rich

 

 

Access tip:

Design View in Relationship window

Your in the Relationship window and changes are required to be made to a Table's design.

Rather than exiting the Relationship window, if you perform a right-mouse click on the table, it opens that table up in Design view

View all Access hints and tips

forum postHow to transfer information on a number of excel spreadsheets into an exsiting access database when the database is listed in employee order

» Forum post: Access

article

How To Create Your Own Access 2007/2010 Navigation Pane

Access 2007/2010 has a brand new Navigation Pane which you can customise to suit your own database. Find out how to do this in this short easy to follow article

» Article: Microsoft access courses london


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