B
bassstuf via AccessMonster.com
I want to get a query to show a value of zero, if there are no records.
The fields im using are:
RMA Number: 5-7 digit number, to reference the return
Part Number: A description of the part (has both text and letters in it)
Location: There are 4 Locations and I want to be able to tell how many Part
Numbers are at each location, if there are none, then I would like it to show
"0".
The basic SQL is:
SELECT DISTINCTROW Return.[RMA Number], Return.[Part Number], Return.Location,
Count(*) AS [Count Of Return]
FROM Return
GROUP BY Return.[RMA Number], Return.[Part Number], Return.Location;
Please help, this is driving me crazy
The fields im using are:
RMA Number: 5-7 digit number, to reference the return
Part Number: A description of the part (has both text and letters in it)
Location: There are 4 Locations and I want to be able to tell how many Part
Numbers are at each location, if there are none, then I would like it to show
"0".
The basic SQL is:
SELECT DISTINCTROW Return.[RMA Number], Return.[Part Number], Return.Location,
Count(*) AS [Count Of Return]
FROM Return
GROUP BY Return.[RMA Number], Return.[Part Number], Return.Location;
Please help, this is driving me crazy