Microsoft Knowledge Base Email Alertz

KBAlertz.com: (302525) - When you create a Memo field in a Microsoft Access database and create an index on that field (or you create a field name that includes text that is automatically indexed), you can enter only a specific amount of text. Once you reach this limit...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 302525 - Last Review: April 14, 2007 - Revision: 5.1

Error message when you enter a large amount of text in a Memo field that contains an index in Access: "Run-time error '3709'"

This article was previously published under Q302525
Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) file or to a Microsoft Access database (.accdb) file.

On This Page

SYMPTOMS

In a Microsoft Access database, when you create a Memo field that includes an index or you create a field name that includes the automatically indexed text, you cannot enter the text that includes more than approximately 3450 characters into the field. When you try to enter more text into the field or try to edit the existing data, you receive the following error message:
Run-time error '3709':

The search key not found in any record.

RESOLUTION

If you must enter a large amount of text in the Memo field, delete the index for the Memo field. To do so follow these steps:
  1. Open the table with the Memo field in Design view.
  2. On the View Menu, click Indexes.

    Note In Microsoft Office Access 2007, click the Design tab, and then click Indexes in the Show/Hide group.
  3. Click the index for the Memo field, and then delete it.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This behavior does not occur in versions of Microsoft Access before Microsoft Access 2000 because Memo fields could not be indexed in Jet 3.5 and earlier.

Steps to reproduce the behavior in Access 2003

  1. In a new database, create a new table with the following properties, and then save it as Table1:
       Table: Table1
       ------------------------
       Field Name: Id
          Data Type: AutoNumber
          Primary Key
       
       Field Name: MyCode
          Data Type: Memo
    					
  2. Add the following record to the Table1 table:
       Id        MyCode
       ------------------------------------
       1         This is the Memo test data
    
    					
  3. Copy the following SQL statement, paste it into a new query in SQL view, and then save the query as query1:
    UPDATE Table1 SET Table1.MyCode = [MyCode] & " " & [MyCode];
  4. Create the following module, and then save it Module1:
    Sub TestMemoUpdate()
        Dim i As Integer
        Docmd.setwarnings false
        For i = 1 To 10
        Docmd.openquery "Query1"   
        Next i
        Docmd.setwarnings true
    End Sub
    					
  5. Place your pointer so that it is in the procedure. Press F5 to run the code.

APPLIES TO
  • Microsoft Office Access 2007
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
Keywords: 
kbexpertiseinter kbtshoot kbvba kbbug kberrmsg kbnofix KB302525
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please