ACC1x: <Expression> Not Part of Aggregate Function or GroupingLast reviewed: May 28, 1997Article ID: Q98808 |
The information in this article applies to:
SYMPTOMSIf a select query that contains an expression is converted to a totals query, the following error message is displayed when the query is run:
<expression> not part of aggregate function or grouping. CAUSEWhen a select query is converted to a totals query, all expressions are assumed to contain aggregate functions and cause the Total field to default to Expression.
RESOLUTIONTo work around this problem, set the Total field to Expression and include an aggregate function as part of the expression for Field Name. If you cannot add an aggregate function, set Total to Group By as shown:
Query: Query Name ------------------------ Field Name: <expression> Total: Group By STATUSThis behavior no longer occurs in Microsoft Access version 2.0.
MORE INFORMATION
Steps to Reproduce BehaviorUsing the sample database NWIND.MDB, complete the following steps:
REFERENCESMicrosoft Access "User's Guide," version 1.0, pages 141-149
|
Additional query words: queries aggregate error
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |