J
jodi
Hi,
I have a problem in putting a running balance in my query.. I have no
idea about it because im new to acces 2007.
I just need to subtract the Debit to the credit while having a running
balance.
Can anyone help me? Please, i really need it!
Here's a screenshot of my query. Thank You!
http://img.photobucket.com/albums/v631/angeljocelyn/HELP.jpg
Right now here is the SQL code that i have in my query:
SELECT [Copy Of General Journal].Month, [Copy Of General Journal].Day,
[Copy Of General Journal].[Account #], [Copy Of General
Journal].Explanation, [Copy Of General Journal].Debit, [Copy Of
General Journal].Credit, DSum("Nz(Debit)-Nz(Credit)","[Copy Of General
Journal]") AS Expr1
FROM [Copy Of General Journal] INNER JOIN [Chart of Accounts Table] ON
([Copy Of General Journal].[Account #] = [Chart of Accounts Table].
[Account Code]) AND ([Copy Of General Journal].[Account Title] =
[Chart of Accounts Table].[Account Titles])
GROUP BY [Copy Of General Journal].Month, [Copy Of General
Journal].Day, [Copy Of General Journal].[Account #], [Copy Of General
Journal].Explanation, [Copy Of General Journal].Debit, [Copy Of
General Journal].Credit
HAVING ((([Copy Of General Journal].[Account #])="112"));
Thank You!
I have a problem in putting a running balance in my query.. I have no
idea about it because im new to acces 2007.
I just need to subtract the Debit to the credit while having a running
balance.
Can anyone help me? Please, i really need it!
Here's a screenshot of my query. Thank You!
http://img.photobucket.com/albums/v631/angeljocelyn/HELP.jpg
Right now here is the SQL code that i have in my query:
SELECT [Copy Of General Journal].Month, [Copy Of General Journal].Day,
[Copy Of General Journal].[Account #], [Copy Of General
Journal].Explanation, [Copy Of General Journal].Debit, [Copy Of
General Journal].Credit, DSum("Nz(Debit)-Nz(Credit)","[Copy Of General
Journal]") AS Expr1
FROM [Copy Of General Journal] INNER JOIN [Chart of Accounts Table] ON
([Copy Of General Journal].[Account #] = [Chart of Accounts Table].
[Account Code]) AND ([Copy Of General Journal].[Account Title] =
[Chart of Accounts Table].[Account Titles])
GROUP BY [Copy Of General Journal].Month, [Copy Of General
Journal].Day, [Copy Of General Journal].[Account #], [Copy Of General
Journal].Explanation, [Copy Of General Journal].Debit, [Copy Of
General Journal].Credit
HAVING ((([Copy Of General Journal].[Account #])="112"));
Thank You!