Microsoft KB Archive/321001

= ACC2002: Error Message: The Text Is Too Long to Be Edited =

Article ID: 321001

Article Last Modified on 11/14/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q321001



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

This article applies only to a Microsoft Access database (.mdb).

For a Microsoft Access 2000 version of this article, see 322874.

For a Microsoft Access 97 version of this article, see 322875.



SYMPTOMS
If you try to type text in a memo field, you may receive the following error message:

The text is too long to be edited



CAUSE
This issue may occur when you try to type data in a field that has been upsized from the Memo data type in Microsoft Access to the SQL Server nText data type.



RESOLUTION
To resolve this issue, modify the data type from nText to Text or Varchar. To do so, follow these steps.

NOTE: To perform the procedure listed later in this article you must have appropriate permissions to modify database objects (db_ddladmin or db_owner).

 Start SQL Server Enterprise Manager, and then locate the server where the database is located. Expand the Databases folder, double-click the database name, and then click Tables. In the right pane of Enterprise Manager, right-click the table where the nText datatype field is located, and then click Design Table on the shortcut menu. Under Data Type, click the field that you want to modify, click the down arrow, and then click either Text or Varchar data type. Close the Design Table dialog box. Click Yes to save the changes that you made to the table design, and then quit SQL Server Enterprise Manager. Start Microsoft Access, and then open your database application.</li> Click Tables, and then delete the linked table that contains the field that you modified in step 4.</li> Re-link the table. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> On the File menu, point to Get External Data, and then click Link Tables.</li> In the Files of Type box, click ODBC Databases.</li> Click an existing DSN or click New to create a DSN that points to the SQL Server or MSDE that contains your table. Click OK.

NOTE: The server may prompt you to log on. If you do not know the user ID and password, contact your system administrator.</li> In the Link Tables dialog box, select the table that you want, and then click OK.</li></ol> </li></ol>

<div class="references_section">