Can anyone tell me how to alter this so I get a zero when there are no entries to sum
TRANSFORM Sum([Daily Entries].Credit) AS [The Value]
SELECT [Daily Entries].RevNo, Sum([Daily Entries].Credit) AS [Total Of Credit]
FROM [Daily Entries]
WHERE ((([Daily Entries].AcctNo)=".08"
)
GROUP BY [Daily Entries].RevNo, [Daily Entries].AcctNo
PIVOT Format([Date],"mmm"
In ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
;
I have looked in keyword search and can't find enough help for my limited knowledge. I would really appreciate your help.
TRANSFORM Sum([Daily Entries].Credit) AS [The Value]
SELECT [Daily Entries].RevNo, Sum([Daily Entries].Credit) AS [Total Of Credit]
FROM [Daily Entries]
WHERE ((([Daily Entries].AcctNo)=".08"
GROUP BY [Daily Entries].RevNo, [Daily Entries].AcctNo
PIVOT Format([Date],"mmm"
I have looked in keyword search and can't find enough help for my limited knowledge. I would really appreciate your help.