Article ID: 295235 - Last Review: September 27, 2003 - Revision: 3.0 ACC2002: The Upsizing Wizard Does Not Upsize Nested Queries If Base Queries Are Upsized as FunctionsThis article was previously published under Q295235 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp). On This PageSYMPTOMS
The Microsoft Access Upsizing Wizard does not upsize a nested query if both of the following conditions are true:
CAUSE
The Upsizing Wizard converts queries with ORDER BY clauses to functions. Therefore, the lower-level query is converted to a function. When a function is involved in more than one join in a query, the Upsizing Wizard does not upsize the query.
RESOLUTION
To work around this problem, use one of the following methods.
Method 1Copy and paste the SQL statement from the nested query in your Microsoft Access Database to a new query in the upsized Microsoft Access project. To do so, follow these steps:
Method 2Before upsizing your database, open the lower-level query in Design view, remove the sort order, and then reinsert the sort order in the upsized query.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce the BehaviorCAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.
| Article Translations
|
Back to the top
