ACC: "Couldn't Insert or Paste; Data Too Long for Field" Msg

Last reviewed: May 21, 1997
Article ID: Q121512
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you enter data in a new record on a form or in a table, you may receive the following error message:

   In Microsoft Access 97:

      The field is too small to accept the amount of data you attempted to
      add. Try inserting or pasting less data.

   In Microsoft Access 7.0:

      Couldn't perform operation; data too long for field

   In Microsoft Access 2.0:

      Couldn't insert or paste; data too long for field

CAUSE

This error occurs if one of the fields in the record has a default value that exceeds that field's FieldSize property setting.

RESOLUTION

Increase the field's FieldSize property setting to be equal to or larger than the field's default value. Or, change the field's default value so that it does not exceed the field's FieldSize property setting.

MORE INFORMATION

The error message is not displayed until you enter data in a record because the record is not marked for saving to the table until you make some change to the record.

This error will also cause a "#Error" message to be displayed in the field whose default value exceeds its FieldSize property setting.

Steps to Reproduce Behavior

  1. Start Microsoft Access and open any database.

  2. Create and then save the following new table:

          Table: Too Long
          -------------------------
          Field Name: One
    
             Data Type: Text
             FieldSize: 5
             DefaultValue: Too Long
          Field Name: Two
             Data Type: Text
    
    

  3. Create a form based on the Too Long table.

  4. View the form in Form view, and type any data in the Two field. Note that you receive the error message mentioned in the "Symptoms" section.


Additional query words: data entry
Keywords : GnlDe kberrmsg kbusage
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


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: May 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.