K
Kosta
Two Tables:
Accounts, Income
The problem:
How do I report on all the Accounts on a certain time period
whether they have a corresponding record under income or not?
Here is one of the countless (!) queries I have tried.
SELECT
A.AccountID,
Sum(NZ(I.CurNet,0))
From
Accounts AS [A] LEFT OUTER JOIN
Income AS ON A.AccountID = I.AccountID
WHERE
I.BrDate = CDate('01/07/2003') OR
I.BrDate IS NULL
GROUP BY
A.AccountID;
The request:
PLEASE HEEEEEEEEEEEEEEEEEELP!
Accounts, Income
The problem:
How do I report on all the Accounts on a certain time period
whether they have a corresponding record under income or not?
Here is one of the countless (!) queries I have tried.
SELECT
A.AccountID,
Sum(NZ(I.CurNet,0))
From
Accounts AS [A] LEFT OUTER JOIN
Income AS ON A.AccountID = I.AccountID
WHERE
I.BrDate = CDate('01/07/2003') OR
I.BrDate IS NULL
GROUP BY
A.AccountID;
The request:
PLEASE HEEEEEEEEEEEEEEEEEELP!