Add Previous Record to Current Record

jrub

Registered User.
Local time
Today, 12:00
Joined
Dec 11, 2012
Messages
52
Hi Everyone,

From the image below, I managed to get calculated filed data summed and added to the next row. What I can't get done, is adding the previous "RunningBalance2" data to the next row as well.

When I included the field "RunningBalance2" to the query statement, Access won't even let me run it without asking me for the input for it......any ideas anyone?
Untitled.png


My working statement is:
RunningBalance2: CCur(Nz((SELECT Sum(T1.AnnualContribution+T1.InterestIncome+T1.Inflation_Adjusted_Expenditures) FROM FP_Default As T1 WHERE T1.StudyYears<FP_Default.[StudyYears]),[ReserveParameters]![StartingBalance]))
 
If I understand correctly you want a calculated value to run with data based on its previous self? So RunningBalance2 row 1 is the basis for RunningBalance2 row 2?
 
Yes, exactly that.

Any ideas?
 

Users who are viewing this thread

Back
Top Bottom