Hi all,
Rusty as anything with Access, it had been about 6 years since I touched it, and then it was 2000.
I'm creating a database of stock which needs to be cross referenced against technical information sheets - however I've become stuck on the first Q, let alone the five or so others I need to write. I have a form, which calls this Q to pull information from a database, however even when using the wildcard and entering information that would definately return results, it doesn't return anything. Without the Form, it works :/
This is the SQL
Code:
SELECT mintexstock.[Product Code], mintexstock.Min, mintexstock.Max, mintexstock.Stock, mintexstock.POQty, mintexstock.Cost, mintexstock.Qtr, mintexstock.YtD, mintexstock.[2010]
FROM mintexstock
WHERE (((mintexstock.[Product Code]) Like [Forms]![Stock Search]![product]) AND ((mintexstock.Min)>[Forms]![Stock Search]![minstock]) AND ((mintexstock.Max)<[Forms]![Stock Search]![maxstock]) AND ((mintexstock.Stock)>[Forms]![Stock Search]![instock]));
Any pointers would be a massive help.