How to return the max value from expression-list?
- From: "MadCityRock" <MadCityRock@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 07:40:03 -0700
In an Access 2003 SQL Select-query, I want to put the max of a list of
numeric fields from each table row into a new variable, eg:
SELECT ...
Max(Field1, Feld2, Field3, Field4) as GreatestVal
FROM ...
I seem to recall that this non-aggregate Max function worked in earlier
versions of Access, but now errs as having the wrong number of arguments.
.
- Follow-Ups:
- Re: How to return the max value from expression-list?
- From: Jeff Boyce
- Re: How to return the max value from expression-list?
- From: Rick Brandt
- Re: How to return the max value from expression-list?
- Prev by Date: Passing a parameter to a query by code. How to do it?
- Next by Date: Re: putting the total row at the end of a cross tab query
- Previous by thread: Passing a parameter to a query by code. How to do it?
- Next by thread: Re: How to return the max value from expression-list?
- Index(es):
Relevant Pages
|