• Home
  • Blog
  • Resume
  • Contact
  • Projects
  • Gallery
  • Amit’s Resume
  • About Nagpur
KEEP IN TOUCH

The search key was not found in any record in Access

Sep15
2009
20 Comments Written by admin

Well, I got this error message today while I was trying to import a text file:

“The search key was not found in any record”

After some research, I found that either it was a bug caused by Microsoft Jet 4.0 Service Pack or it was the size of the database (should be not greater than 2GB). It turned out to be the later one. I fixed this problem by compacting and resizing the database. In Access 2007, you click on the Office Button (Top Left Corner), then Manage > Compact and Repair Database.

Related posts:

  1. Access Export to Excel (2007)
  2. Access to the VB project is not trusted
  3. Access VBA: Delete tables from Access database
  4. Access VBA: Export Access tables using ODBC
  5. Access VBA: Convert Access tables to arff format
Posted in Access, Error messages - Tagged Access, error, Microsoft Jet
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail
« Tag Cloud of Data Mining Jobs
» My experiments with sparklines

20 Comments

  1. Irene's Gravatar Irene
    March 7, 2010 at 7:37 am | Permalink

    For a year i have been wondering how to resolve this error until today after reading your blog.

    Thank you a million!

  2. a7n9's Gravatar a7n9
    March 8, 2010 at 8:47 am | Permalink

    Irene, I am glad to hear that.

  3. Carla's Gravatar Carla
    March 19, 2010 at 10:39 am | Permalink

    thanks! this error has been a problem

  4. Sean's Gravatar Sean
    June 25, 2010 at 8:16 am | Permalink

    I got the same problem but it was not to do with the Jet SP. I had leading spaces in column headers which I removed and was able to import.

  5. clement's Gravatar clement
    July 5, 2010 at 8:21 am | Permalink

    Thanks man. Sometimes these microsoft operation system and applications come very close to driving me insane. Your recommending works well. It would be good if Microsoft help was more interactive and usefull. I’ve lost a day or more with this problem. cheers for being a saviour

  6. a7n9's Gravatar a7n9
    July 6, 2010 at 8:11 am | Permalink

    Not a problem, clement. I am glad that these solutions helped you.

  7. Val's Gravatar Val
    August 5, 2010 at 9:42 am | Permalink

    For me is not working I try your suggestion still not working…
    Made all different attepmts not work….

  8. Adam's Gravatar Adam
    August 23, 2010 at 3:16 pm | Permalink

    Thanks, really helped.

    They should make the error message more useful, though. Something like “Hey, your database is too big.”

  9. Jordi's Gravatar Jordi
    October 4, 2010 at 5:00 am | Permalink

    Thanks from my side too,
    Error message was really insane!

  10. NELLY's Gravatar NELLY
    October 14, 2010 at 9:42 am | Permalink

    Hi i’m was looking for this solution for an emergencyy with a database in my job THANKSSSSS

  11. Karo's Gravatar Karo
    October 20, 2010 at 2:12 am | Permalink

    I have not be able to fix this problem, I have been trying to split my database, and come with this error, am using Access 2007. Note that I am using Office 2007 with SP2.

  12. jose alberto's Gravatar jose alberto
    January 14, 2011 at 11:39 am | Permalink

    Wonderful!!! i had benn fighting with this problem the last year.
    Thanks man you have solved one of the more famous problem leading with data base.
    Im not used to write something in this kind of blog,s but in this case… amazing
    I never thought that the solution were so easy.

  13. jasbir's Gravatar jasbir
    March 3, 2011 at 4:10 am | Permalink

    nice, thanks

  14. bob mac's Gravatar bob mac
    March 9, 2011 at 12:15 pm | Permalink

    Thanks! I had a leading space in a column header as well.

  15. Mo's Gravatar Mo
    March 14, 2011 at 4:08 pm | Permalink

    Thanks. I have been dealing with with problems for over a year and it was solved by this post. Thanks again.

  16. David Lindsey's Gravatar David Lindsey
    April 1, 2011 at 9:50 am | Permalink

    Thanks all! After reading here, compacting the database allowed me to run a Make Table query that was previously showing the same cryptic error message. I was working with 1,269,183 records. In terms of bad error messages: Programmers, can’t live with ‘em, can’t live without ‘em!

  17. Ralph G.C.'s Gravatar Ralph G.C.
    April 26, 2011 at 11:03 pm | Permalink

    Thanks, this is very informative forum. It really help me alot with with this problem.

  18. navvi25's Gravatar navvi25
    September 2, 2011 at 9:33 am | Permalink

    Worked for me. For a long time, I was trying to figure out how to resolve this issue.
    thanks a bunch!!!.

  19. Michael's Gravatar Michael
    November 14, 2011 at 8:29 am | Permalink

    Thanks! The Compact DB worked perfectly. Classis Microsoft white-tower programmer nonsense. I wonder how many thousans of man-hours it would save to say either:
    “Column Headings need to be trimmed” OR
    “Please compact your database first (top left > Manage Database)”

    Seriously?

    Thanks for the heads-up here though.

  20. Bharathi's Gravatar Bharathi
    December 7, 2011 at 6:20 am | Permalink

    Error msgs need to be more Meaningful…thats for MICROSOFT…Hey thanks a lot for the solution!!!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Tags

Access Alt F8 Books boxplot cells charts count cursor dashboard data mining dbase design error excel excel functions export filter flip LaTex MS query Number Err ODBC pipes Press Alt F11 Public Sub python R random numbers Range Cells report scripting software sparklines SQL SQL server stack columns statistics stemming string tag cloud text mining UDF VBA visualization wildcard

Network

View Ashutosh Nandeshwar's profile on LinkedIn

Recent Comments

  • larry on Access Export to Excel (2007)
  • Betty Chou on Projects
  • Rwill on Access Export to Excel (2007)
  • Bharathi on The search key was not found in any record in Access
  • Michael on The search key was not found in any record in Access

Related Posts

  1. Access Export to Excel (2007)
  2. Access to the VB project is not trusted
  3. Access VBA: Delete tables from Access database
  4. Access VBA: Export Access tables using ODBC
  5. Access VBA: Convert Access tables to arff format

EvoLve theme by Blogatize  •  Powered by WordPress nandeshwar.info