Hello,
Just new to your forum and I hope you can help me out.
My main problem is that I'm not sure what it is that I am trying to do, but I know what I'd like to achieve, so searching has been pretty futile so far
I have a Sales orders table. whcih contains all the details you would typically find there.
The ones that I am interested in are, Sales order no, Stock Code, Description and Delivery Date.
The stock codes are typically alpha numeric (eg M1000), but there is a stock code called 'FREETYPE' that allows sales people to edit the Description on the sales order (this is typically where they put serial numbers).
What I need to do is make a query that will return the Order No, 'FREETYPE' code along with the description, but only if the Stock Code 'M1000' is on that sales order.
At the moment this is what I do.
I run a query to SELECT
Sales order no
Stock code
Description
Delivery date
WHERE Stock code = 'FREETYPE'
This then pulls off all the freetype lines on sales orders (which is massive)
I then run a query to SELECT
Sales order no
Stock code
Description
Delivery date
WHERE Stock code = 'M1000'
Within the 1st table that I extracted, I vlookup to the second query and delete the lines that return a #N/A value. This ofcourse is a really long wined way to do things and does not allow for the report to be easily refreshed.
I use Ms Query from within Excel 2007, any help would be greatly appreciated.
-Kenny