G
Guest
I am having trouble figuring what is wrong with this query - I'm not very
good at queries.
I have a parts and supplies table and each item has a minimum and maximum.
There is another field for units on hand. I tried to run a query that would
let me know which items are at the minimum or less than as well as when at
the maximum or greater than from the units on hand.
This is the SQL text that I tried, but I don't get any results:
SELECT [Parts and Supplies].PartNumber, [Parts and Supplies].UnitsOnHand,
[Parts and Supplies].Minimum, [Parts and Supplies].Maximum
FROM [Parts and Supplies]
WHERE ((([Parts and Supplies].UnitsOnHand)<=([Minimum]) Or ([Parts and
Supplies].UnitsOnHand)>=([Maximum])));
Thank you.
good at queries.
I have a parts and supplies table and each item has a minimum and maximum.
There is another field for units on hand. I tried to run a query that would
let me know which items are at the minimum or less than as well as when at
the maximum or greater than from the units on hand.
This is the SQL text that I tried, but I don't get any results:
SELECT [Parts and Supplies].PartNumber, [Parts and Supplies].UnitsOnHand,
[Parts and Supplies].Minimum, [Parts and Supplies].Maximum
FROM [Parts and Supplies]
WHERE ((([Parts and Supplies].UnitsOnHand)<=([Minimum]) Or ([Parts and
Supplies].UnitsOnHand)>=([Maximum])));
Thank you.