mcmichael13
The Wanna-Be
- Local time
- Today, 01:34
- Joined
- Apr 15, 2009
- Messages
- 50
I have an RMA database, and this particular query is used to create a pivot chart. I have the query pulling data from the table based on a "selection form" of a date range and location of RMA.
Now my problem is, that associated with the RMA is the total value. I want to not include the records where the RMA value is entered as 0.00, but I'm not sure how to do that in the query. I have tried various forms of "is null" "is not null" etc. I'm just unsure as to how to get what I want.
Thanks in advance for your help.
[Edit]
This is my sql as it stands now...
Now my problem is, that associated with the RMA is the total value. I want to not include the records where the RMA value is entered as 0.00, but I'm not sure how to do that in the query. I have tried various forms of "is null" "is not null" etc. I'm just unsure as to how to get what I want.
Thanks in advance for your help.
[Edit]
This is my sql as it stands now...
Code:
SELECT RMA.DateReceived, RMA.Location, RMA.TotalValue, RMA.RMA, RMA.ReasonforReturn
FROM RMA
WHERE (((RMA.DateReceived) Between [Forms]![DefectCodeRMA]![StartDate] And [Forms]![DefectCodeRMA]![EndDate]) AND ((RMA.Location)=[Forms]![DefectCodeRMA]![Location])) OR (((RMA.DateReceived) Between [Forms]![DefectCodeRMA]![StartDate] And [Forms]![DefectCodeRMA]![EndDate]) AND (([Forms]![DefectCodeRMA]![Location]) Is Null))
ORDER BY RMA.DateReceived;