MSQuery: GP Fault Deleting Column After Copy

Last reviewed: September 12, 1996
Article ID: Q118757
The information in this article applies to:
  • Microsoft Query for Windows, version 1.0

SYMPTOMS

In Microsoft Query, if you copy records in a query that contains a field with the Image data type, and you then delete one of the columns in the query, you receive a general protection (GP) fault.

Additionally, if you copy records in a query that contains only a field with the Image data type, and you then delete that column, you receive the following error message:

   Out of memory

CAUSE

Normally, when you copy records in a query, and then delete a column in the query, you receive a dialog box with the following message

   Save large clipboard from 'QUERY.QRY'?

where QUERY.QRY is the name of your query file.

However, when your query contains more than ten records (the actual number of records may vary), and you copy these records and then delete one of the columns, you receive the GP fault, and you do not receive the prompt to save the clipboard. If your query contains only an Image field, and you copy the records and then delete the column, you receive the "Out of memory" error message.

This problem also occurs even if you first paste the copied query fields to a document, such as a Microsoft Excel worksheet, and then delete the column in the query. Note that when you paste a query that contains an Image field to a document in another application, you receive the following error message:

   General ODBC Error

WORKAROUND

To avoid receiving a GP fault when you copy records in a query that contains an Image field, copy data in another query, or in another application, before you delete a column in the query that contains an Image field.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in in the version of Microsoft Query that ships with Microsoft Excel version 5.0c for Windows.

REFERENCES

For more information about Data Types (Advanced), choose the Search button in ODBC SQL Server Driver Help and type:

    image data type


KBCategory: kbusage kbprb
KBSubcategory: xlquery

Additional reference words: 1.00 5.00 6.00 6.00a sql gpf err msg



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.