Table of contents
TOC
Collapse the table of content
Expand the table of content

Subqueries cannot be used in the expression . (Error 3203)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Applies to: Access 2013 | Access 2016

The specified expression contains a subquery or other expression that functions as a subquery.

Possible cause:

  • You used a SELECT statement that includes an aggregate function that evaluates another aggregate function. This error occurs, for example, if you execute the following statement:
  TRANSFORM Sum([OrderAmount]) AS Sum1 
SELECT Sum([Sum1]) AS Sum2, OrderID, Sum([Sum2]) AS Expr1 
FROM Orders 
GROUP BY OrderID 
PIVOT ShipName;
The < _expression_ > parameter of the alert would contain the expression `Sum([Sum2])` from the SELECT clause, because this references an alias used in the same SELECT statement and acts as a subquery against `Sum([Sum1])`.

ACCESS SUPPORT RESOURCES
Access for developers forum on MSDN
Access help on support.office.com
Access help on answers.microsoft.com
Search for specific Access error codes on Bing
Access forums on UtterAccess
Access wiki on UtterAcess
Access developer and VBA programming help center (FMS)
Access posts on StackOverflow

© 2018 Microsoft