473,387 Members | 1,536 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,387 software developers and data experts.

To calculate accumulated value

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 store to you, automatically collected of the
values of the field of the index (being multiplied). Necessary that it is the
value of the future of the fields, not of pasts, thus, when inserting new
data in INDEX, he must bring updated all the COLLECTED registries,
multiplying this value to his, thus:

Date Index accumulated
01/06 1,15 1,15 - it
does not have reserve, repeats the value

now I add a registry :

Date Index accumulated
01/06 1,15 1,38 IT
CHANGED therefore 1,15*1,20=1,38
02/06 1,2 1,2 it
does not have reserve, repeats the value

to add plus one

Date Index accumulated
01/06 1,15 1,863 IT CHANGED
therefore 1,15*1,20*1,35=1,863
02/06 1,2 1,62 IT
CHANGED therefore 1,20*1,35=1,62
03/06 1,35 1,35

How can I make this function?

Regards,
Marcelo

Brasil

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 31 '06 #1
0 1938

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

Similar topics

1
by: Building Blocks | last post by:
Hi, All I need is a simle calculate form script which contains this: A script that can handle text input, radio buttons, checkboxes, and dropdowns. Each one of these variables will contain a...
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...
1
by: Johs. | last post by:
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
6
by: Herrcho | last post by:
in K&R Chapter 6.3 it mentions two methods to calculate NKEYS. and points out the first one which is to terminate the list of initializers with a null pointer, then loop along keytab until the...
6
by: luanhoxung | last post by:
dear all!! i met the headache problem in setting value for some controls in my form. i have 2 combo box in form F1. i want to set value for some textbox in F1 when i choose value from 2 combo...
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...
5
chunk1978
by: chunk1978 | last post by:
hey... can anyone show me how to calculate sums to the 2nd decimal only? like: 5.50 + 4.00 = 9.50 i seriously have zero idea and could defo use some help...thanks! <script...
5
by: Michael | last post by:
Hi. I need dinamically calculate input text field based on parent static TD before showing content of input. Please, advice. Michael
3
by: coolguyraj | last post by:
I have a javascript code to take value from two text boxes and calculate on triggering the "OnBlur" function and display in the third box. The code works fine with one line item,If i have more...
6
by: rrstudio2 | last post by:
I am using the following vba code to calculate the median of a table in MS Access: Public Function MedianOfRst(RstName As String, fldName As String) As Double 'This function will calculate the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.