473,395 Members | 1,471 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Accumulated sum

Hello

I have a table with dates and numbers.
I create sums pr. years with a query, but how can
I create accumulated sum in the column accumulated?
Accumulate sums

Year Sum Accumulated
2001 200 200
2002 180 380
2003 210 590
----
590

Johs.
Nov 13 '05 #1
1 2233
use a report and create a running sum. PITA in a query. Search
around. someone's done it, I'm sure.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: svend | last post by:
I'm messing with some code here... Lets say I have this array: a1 = ; And I apply slice(0) on it, to create a copy: a2 = a1.slice(0); But this isn't a true copy. If I go a1 = 42, and then...
5
by: Joe | last post by:
Hi, This may seem like a strange thing to want to do, but here goes ... Given an arbitrary element in an HTML page (eg. <td id="bob">...), is there a method I could use to fetch the...
7
by: Daniel Vallstrom | last post by:
I am having trouble with floating point addition because of the limited accuracy of floating types. Consider e.g. x0 += f(n) where x0 and f are of some floating type. Sometimes x0 is much larger...
9
by: Mantorok Redgormor | last post by:
7.19.3p7 "At program startup, three text streams are predefined and need not be opened explicitly — standard input (for reading conventional input), standard output (for writing conventional...
1
by: CBFalconer | last post by:
I have, for my own amusement, written the following code. However I am in grave doubts as to the accuracy of the code in the function "variations", having spent 50 odd years forgetting everything...
0
by: Marcelo Henderson via AccessMonster.com | last post by:
I have a table “IGPM”, with three fields: “DATE”, ““ACCUMULATED” , " INDEX”. The date is my primary key, the index stores the IGP of the index of the month, and accumulated it must...
16
by: onorinbejasus | last post by:
ok, i have to write a program that my teachers has no idea how to do. I have been given multiple lines of data, and i have to read it into arrays to access at a later time. i am able to read the...
12
by: onorinbejasus | last post by:
ok.. i have a program that's set up like this.. #include <iostream.h> #include <lvp/string.h> int main() { String name; }
10
by: cesco | last post by:
Hi, I have the following list: l = and I'd like to obtain a list like the following: l_partial_sum = (that is ) Is there a simple way to accomplish this? I came up with the following...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.