ACC2: Paste Special or Paste Link Causes GPF in Msaccess.exe

ID: Q178263


The information in this article applies to:


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you use Paste Special to paste a copied section of a Word document into a bound object frame on a form, you may receive the following error message:

An error has occurred in your program. To keep working anyway, click Ignore and save your work in a new file. To quit this program, click Close. You will lose information you entered since your last Save.

When you click Close, you receive the second message:

   This Program has performed an illegal operation and will be shut
   down. If the problem persists, contact the program vendor. 

When you click Details, you receive the following message:

   MSACCESS caused a general protection fault in module MSACCESS.EXE 

Microsoft Access then quits and the Word document is not pasted into the bound object frame. Note that this behavior occurs if you are using Microsoft Windows 95, but it does not occur if you are using Microsoft Windows NT version 4.0.


WORKAROUND

Use the Insert Object command on the Edit menu.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 2.0. This problem no longer occurs in Microsoft Access version 7.0 or 97.


MORE INFORMATION

Steps to Reproduce Behavior


  1. Create a new database in Microsoft Access 2.0.


  2. Click the Table Tab, and then click New.


  3. In the New Table dialog box, click New Table.


  4. Type MyWordOLE in the Field Name column and select OLE Object from the Data Type column.


  5. Save the table as tblOLETest. When prompted to create a primary key, click No.


  6. Click the Form tab, and then click New.


  7. In the New Form dialog box, select tblOLETest from the Select A Table/Query box, and then click Form Wizards. In the Form Wizards dialog box, select AutoForm and click OK.


  8. Open a document in Microsoft Word and select and copy the text.


  9. Switch back to Microsoft Access and select the MyWordOLE field in the form.


  10. On the Edit menu, click Paste Special.

    Note that you receive the error messages described in the "Symptoms" section.



Keywords          : EvnGpf IntpOle 
Version           : WINDOWS:2.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 28, 1999