Print Page | Close Window

MaxQueryProblem.mdb (beginner)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=326
Printed Date: 28 Mar 2024 at 4:14am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: MaxQueryProblem.mdb (beginner)
Posted By: Roger Carlson
Subject: MaxQueryProblem.mdb (beginner)
Date Posted: 31 Jul 2008 at 11:21pm

Please consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .

MaxQueryProblem.mdb
 
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.

Download
Access 2000-2007 (MDB): http://www.rogersaccesslibrary.com/forum/uploads/5/MaxQueryProblem2k.zip - MaxQueryProblem2k.zip



-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net