Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - MaxQueryProblem.mdb (beginner)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)

MaxQueryProblem.mdb (beginner)

 Post Reply Post Reply
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: MaxQueryProblem.mdb (beginner)
    Posted: 31 Jul 2008 at 11:21pm

Please consider donating $1 per sample downloaded, find out why here.

The Problem: You want to create a query which will return a MAX Date and the corresponding Amount, grouping them on the Customer Name.

It shows why you should not use two aggregate functions (like MAX) in a query, and two different ways to solve the problem correctly.

Access 2000-2007 (MDB):

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down