I have an Access query with the following
GL_A.Account,
GL_P.FiscalYear,
GL_P.FiscalPeriod,
GL_P.BeginningBalance,
GL_P.DebitAmount,
GL_P.CreditAmount,
[BeginningBalance]+([DebitAmount]-[CreditAmount]) AS EndingBalance
The problem is that BeginningBalance
only has values for January (FiscalPeriod 1).
I need to have a new field ActualBeginngBal
which comes from the previous month EndingBalance
(Except January)
Note: there are many account #'s but each account only has 1 record per FiscalPeriod/FiscalYear
Your help would be greatly appreciated,
Thank you
Account
,FiscalYear
andFiscalPeriod
stored as text in the database? Just wondering as your screenshot shows them left aligned andFiscalPeriod
has a leading 0. – Darren Bartrup-Cook