ACC1x: <Expression> Not Part of Aggregate Function or GroupingID: Q98808
|
If 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.
When 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.
To 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
This behavior no longer occurs in Microsoft Access version 2.0.
"[Last Name] & ", " & [First Name]" not part of aggregate function or grouping.
Query: Employee List
-----------------------------------------------------------
Field name: Employee Name:[Last Name] & ", " & [First Name]
Total: Group By
Microsoft Access "User's Guide," version 1.0, pages 141-149
Additional query words: queries aggregate error
Keywords : kbusage QryTotal
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 23, 1999