jtbryson
01-25-2002, 04:22 PM
I have a table with these fields: ProdCode, Price, and Vendor. For each ProdCode, I am trying to determine the vendor with the highest price.
I am able to find the highest price for each product code but am having problems associating the vendor.
I am using one query to find the highest price for the product code and a table with the prices, codes, & investors.
When I try to link to my "highest price" query to add the vendor, my new query returns multiple instances of the product code with each vendor instead of just one product code, one price, and one vendor.
How do I find the highest price for each product code and associate the vendor to that price and product code?
Thanks!
JB
I am able to find the highest price for each product code but am having problems associating the vendor.
I am using one query to find the highest price for the product code and a table with the prices, codes, & investors.
When I try to link to my "highest price" query to add the vendor, my new query returns multiple instances of the product code with each vendor instead of just one product code, one price, and one vendor.
How do I find the highest price for each product code and associate the vendor to that price and product code?
Thanks!
JB