Min Query Problem

B

Brennan

Hello:

I have a query that contains the following fields:

EstimatorID
EstimatorName
ContractorID
ContractorName
JobID
JobName
JobLocation
BidID
BidAmount

An estimator can have multiple bids on the same job with
different contractors but will never have multiple bids
for the same job with the same contractor.

I need to design a query that will if an estimator has
mutliple Bids for the same job that I will select the Bid
that has the lowest value. I tried using the Min function
on the Bid amount field but that didn't work.

Any ideas would be appreciated.

Brennan
 
J

Jeff Boyce

Brennan

What happens if you build a Totals query that only includes the fields you
said you needed:

Job, Estimator, Bid

and use GroupBy on the first two fields, Min on the third?

Good luck

Jeff Boyce
<Access MVP>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Tough Query 1
Eliminating Ties in a Min Query 1
Eliminating Records in a Query 2
Merge Query Results 2
Sum Problem 1
Dlookup or similar to get the right values 2
SUMIF Help 4
Data from multiple database tables 4

Top