MS Access

R

Rich Sherman

How do you setup or can you setup a subquery that would give you the max records for all clients for a parameter date provided. I know it would have t o check max records by client and have done this in separate queries but wondered if it can be in a subquery within the table.

Appreciate it.

EggHeadCafe - Software Developer Portal of Choice
Build an Anthem.Net Remote Scripting (AJAX) AutoSuggest Textbox control
http://www.eggheadcafe.com/tutorial...64-f222ded907ff/build-an-anthemnet-remot.aspx
 
V

vanderghast

What do you mean by "max records"? If it is something like, say, the
maximum cost, then:

SELECT client, MAX(cost)
FROM table
WHERE dateStamp = [ enter date ]
GROUP BY client


would do.


Vanderghast, Access MVP

in message news:[email protected]...
 

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

Top