The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies only to a Microsoft Access database (.mdb). SYMPTOMSWhen you run a SQL-specific union query that contains an OLE Object field, you may receive the following error message:
CAUSEBy default, union queries implicitly sort the data and delete duplicate records. Because Memo, OLE, and Hyperlink Object fields cannot be sorted, the error occurs. RESOLUTIONTo avoid this error, add the ALL predicate to eliminate the sorting of the field data. For example, add the ALL predicate to the following SQL statement
to produce the statement:
Note that the SQL statement with the ALL predicate does not remove
duplicate records.
REFERENCESFor more information about union queries, click Microsoft Access Help on the
Help menu, type What is an SQL query and when would you use one in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned. Additional query words: prb querying URL URLs
Keywords : kberrmsg kbdta QryUnion |
Last Reviewed: December 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |