![]() |
|
|
|||||||
|
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I've got a table with the following information: Vendor ProductCategory Price farm1 apples $1 farm2 apples $2 store1 bandaids $10 store2 bandaids $7 I want to run a query to find the minimum price for each category, and also show the vendor. So the result should be: Vendor ProductCategory Price farm1 apples $1 store2 bandaids $7 Of course, if I group by category and the minimum of price, it will find the cheapest in category, but I'll lose visibility to the vendor. I've tried setting it up as two tables - a product table and a product category table, but it hasn't worked so far. Thanks for the help! |
|
#2
|
||||
|
||||
|
If you bring in the table again and create links on both the cost and the item and bring down the vendor it should dispplay the correct vendor.
David
__________________
www.xcraftlimited.co.uk The Home of Simple Software Solutions. |
|
| Bookmarks |
| Tags |
| access, lookup, query, relational databases |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| return last updated date for each product | jonnyuk3 | Queries | 0 | 06-17-2009 02:38 AM |
| Multiple Price Columns | kmwhitt | Access | 0 | 04-04-2009 07:48 PM |
| Microsoft Access Lookup tables | bitert01 | Forms | 1 | 02-20-2009 11:55 AM |
| Product in a Summary Query | Fletch | Queries | 0 | 12-11-2008 12:14 PM |
| Grouping a subcategory into a higher category | brandon | Access | 0 | 08-19-2008 09:12 AM |