G
Guest
Hello there,
I am using the follwing SQL code to have my running total:
SELECT A.Date, A.ID, A.Amounts, A.Type, A.[Account Desc], A.Description,
A.Balance, A.Currency, A.Banks, [balance]+(SELECT Sum(amounts)
FROM Bankbalancequery
WHERE [date] <= A.[date]) AS Balances
FROM Bankbalancequery AS A
ORDER BY A.Date, A.ID;
The problem is that I have more than one transaction for the same date, so I
am getting the same balance for the different records having the same date.
Is there a way out plzzzzzzzz?
thks.
I am using the follwing SQL code to have my running total:
SELECT A.Date, A.ID, A.Amounts, A.Type, A.[Account Desc], A.Description,
A.Balance, A.Currency, A.Banks, [balance]+(SELECT Sum(amounts)
FROM Bankbalancequery
WHERE [date] <= A.[date]) AS Balances
FROM Bankbalancequery AS A
ORDER BY A.Date, A.ID;
The problem is that I have more than one transaction for the same date, so I
am getting the same balance for the different records having the same date.
Is there a way out plzzzzzzzz?
thks.