B
bobdydd
Hi
Ms Access 2007
I have a table called ztblProduct with 2850 items in it.
1. When I run the following query it returns 2850 items
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct;
2. When I run the following query it returns 13 items. Which is correct because there are 13 Clocks in ztblProduct
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct
WHERE (((ztblProduct.Category)="CLOCKS"));
3. But when I run the following query it returns 2195 items. THIS IS WRONG! It should return 2850-13 = 2837 items
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct
WHERE (((ztblProduct.Category)<>"CLOCKS"));
I have tried a restart, a rebuild, I have also tried the NOT LIKE Operator but it still returns 2195 items
Can anyone help?
BTW it's my birthday today
Thanks
Ms Access 2007
I have a table called ztblProduct with 2850 items in it.
1. When I run the following query it returns 2850 items
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct;
2. When I run the following query it returns 13 items. Which is correct because there are 13 Clocks in ztblProduct
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct
WHERE (((ztblProduct.Category)="CLOCKS"));
3. But when I run the following query it returns 2195 items. THIS IS WRONG! It should return 2850-13 = 2837 items
SELECT ztblProduct.Category, ztblProduct.SupplierProductTitle
FROM ztblProduct
WHERE (((ztblProduct.Category)<>"CLOCKS"));
I have tried a restart, a rebuild, I have also tried the NOT LIKE Operator but it still returns 2195 items
Can anyone help?
BTW it's my birthday today
Thanks