L
Love Buzz
Hi all.
Here is my dilemma, I have a table with either one or two asterix in a
column (the same column). One asterix signifies a different outcome than
two. When I try to count one asterix and/or two, it adds them all up. Here
is the SQL view:
SELECT Count([Incoming Return Item Detail].ReturnReasonCode) AS
CountOfReturnReasonCode, Count([Incoming Return Item
Detail].RedepositIndicator) AS CountOfRedepositIndicator, Count([Incoming
Return Item Detail].RedepositIndicator) AS CountOfRedepositIndicator1
FROM [Incoming Return Item Detail]
WHERE ((([Incoming Return Item Detail].Date) Between [Start Date] And [End
Date]))
HAVING (((Count([Incoming Return Item Detail].RedepositIndicator)) Like "*")
AND ((Count([Incoming Return Item Detail].RedepositIndicator)) Like "**"));
Hope that made sense.
Any suggestions?
Here is my dilemma, I have a table with either one or two asterix in a
column (the same column). One asterix signifies a different outcome than
two. When I try to count one asterix and/or two, it adds them all up. Here
is the SQL view:
SELECT Count([Incoming Return Item Detail].ReturnReasonCode) AS
CountOfReturnReasonCode, Count([Incoming Return Item
Detail].RedepositIndicator) AS CountOfRedepositIndicator, Count([Incoming
Return Item Detail].RedepositIndicator) AS CountOfRedepositIndicator1
FROM [Incoming Return Item Detail]
WHERE ((([Incoming Return Item Detail].Date) Between [Start Date] And [End
Date]))
HAVING (((Count([Incoming Return Item Detail].RedepositIndicator)) Like "*")
AND ((Count([Incoming Return Item Detail].RedepositIndicator)) Like "**"));
Hope that made sense.
Any suggestions?