Re: Find Lowest Price in Table
- From: Patrick Fisher <info@xxxxxxxxxxx>
- Date: Wed, 09 Jan 2008 17:28:57 +0000
I have combined the table into a single table.
Running a query as per Rons answer simply lists all the suppliers and
thier paert codes and prices, it does not isolate the lowest one.
There is only one price per part in each table, I am not trying to
find the lowest price in each table I am trying to find the lowest
price accross 12 tables for each part, I do not want to see all the
prices for a ABC123 Widget, just the lowest one with its supplier
On Wed, 9 Jan 2008 07:21:26 -0800 (PST), "dan.allen.dc@xxxxxxxxx"
<dan.allen.dc@xxxxxxxxx> wrote:
On Jan 9, 9:36 am, Patrick Fisher <i...@xxxxxxxxxxx> wrote:
I still do not understand how I can get the lowest value from 12
possibles
On Wed, 9 Jan 2008 07:08:42 -0600, "paii, Ron" <n...@xxxxxx> wrote:
"Patrick Fisher" <i...@xxxxxxxxxxx> wrote in message
news:qah9o3dfb0qdab6bj952ndnvso408k00va@xxxxxxxxxx
Hi
That is Ok for 1 supplier, I may have say a 1000 products, all of
which are available from each of 12 suppliers, some products will be
cheaper from one supplier or another, I need to be able to produce
purchase orders to each suppler detailing the items where they were
the lowest price.
On Wed, 9 Jan 2008 10:32:42 -0000, "Keith Wilby" <h...@xxxxxxxxx>
wrote:
"Patrick Fisher" <i...@xxxxxxxxxxx> wrote in message
news:2159o3d9scs80rdqnkafds4n87ch8kba0a@xxxxxxxxxx
Hi
I have tables from 12 suppliers each of whom can supply the same part,
I need to be able to create a table or query containing a list of
suppliers who can supply at the lowest price for each item. I am
struggling with this, can anyone help.
Thanks
Patrick
bothUse a totals query (click on the "totals" toolbar button), "group on"
supplier and item, "min" on the price field.
Keith.
www.keithwilby.com?wp_ml=0
You have 12 tables, one for each supplier?
If you can, combine all the tables into one, keyed on a supplier ID. Other
wise use a union query to combine the 12 tables as you source. then uses
Keith's response on the resulting table or query.- Hide quoted text -
- Show quoted text -
This is a good example of a simple question where the answer is simple
in principle, but can be awkward in practice.
Question: can you combine all the tables from all the suppliers into
a single table? If you did that, finding the minimum price would be
a simple query.
It sounds like you want to query all 12 tables, without combining them
into a single table. I would be concentrating on combining the tables
instead of trying to read from all of them. Just a personal
preference.
.
- Follow-Ups:
- Re: Find Lowest Price in Table
- From: Keith Wilby
- Re: Find Lowest Price in Table
- From: paii, Ron
- Re: Find Lowest Price in Table
- References:
- Find Lowest Price in Table
- From: Patrick Fisher
- Re: Find Lowest Price in Table
- From: Keith Wilby
- Re: Find Lowest Price in Table
- From: Patrick Fisher
- Re: Find Lowest Price in Table
- From: paii, Ron
- Re: Find Lowest Price in Table
- From: Patrick Fisher
- Re: Find Lowest Price in Table
- From: dan.allen.dc@xxxxxxxxx
- Find Lowest Price in Table
- Prev by Date: Re: Find Lowest Price in Table
- Next by Date: Open PDF
- Previous by thread: Re: Find Lowest Price in Table
- Next by thread: Re: Find Lowest Price in Table
- Index(es):
Relevant Pages
|