D
Diana
I am having a problem with the below query.
If I remove one of the fields from WHERE (run query by
either month or model) it works. Using AND, I receive zero
records with no error messages. Any ideas why? Thank you
in advance.
SELECT MainTable.Model, MainTable.Hardware, COUNT
(MainTable.Hardware) AS CountOfHardware
FROM MainTable
WHERE (((MainTable.Month)='June 2004') AND
((MainTable.Model)='D600'))
GROUP BY MainTable.Model, MainTable.Hardware;
If I remove one of the fields from WHERE (run query by
either month or model) it works. Using AND, I receive zero
records with no error messages. Any ideas why? Thank you
in advance.
SELECT MainTable.Model, MainTable.Hardware, COUNT
(MainTable.Hardware) AS CountOfHardware
FROM MainTable
WHERE (((MainTable.Month)='June 2004') AND
((MainTable.Model)='D600'))
GROUP BY MainTable.Model, MainTable.Hardware;