I tried your sql and it did as you said, I see the zeros,
but I need to see the [desc]
I'm just counting inventory and I need to see that the
inventory says (0)
How do I make my query show the missing [desc]
if it has zero items in it.
I think I'm close, but I just can't quite get it.
Thanks again for you time.
I really need this, so your help is appreciated.
-----Original Message-----
PMFJI try:
TRANSFORM Val(Nz(Count
(qerytestinventoryrubberstorage.ItemID),0)) AS
[The Value]
SELECT qerytestinventoryrubberstorage.DESC,
Count(qerytestinventoryrubberstorage.ItemID)
AS [Total Of ItemID]
FROM qerytestinventoryrubberstorage
GROUP BY qerytestinventoryrubberstorage.DESC
PIVOT qerytestinventoryrubberstorage.BINLOC;
However, this will not show a [DESC] for items that are not in
qerytestinventoryrubberstorage. It should put a zero in BINLOC columns where
there are none of the particular item.
--
Duane Hookom
Microsoft Access MVP
Please direct any questions to News Groups
That is correct. it doesn't show "0"
I'm not totaly clear on using the function NZ, or where to
put it.????
I tried a variation NZ, but Idon't think I did it
correctly.
Thanks again for your help.
Dennis
-----Original Message-----
So, if the [Total Of ItemID] is null, it doesn't
show "0", right? Have you
tried using the Nz() function to convert a null to a zero?
--
Good luck
Jeff Boyce
<Access MVP>
.
.