
Originally Posted by
rjrcooper
Hi all!
I just joined the forum cos Google returned this post as one of the top results for the error I was getting but now it's fixed.
I was trying to import a text file into Access and was getting the "the search key was not found in any record" message when I clicked "Finish" at the end of the wizard.
I imported the file into Excel and tried to import that but got the same message. I then went and did some analysis on the Excel file. Probalby not that relevant to the final solution but here are the details:
- There are 5 columns of data
- There are 73,099 rows
- There is no field/cell that is greater than 250 characters in length
- I am importing all columns into "Text" columns in Access
- The excel spreadsheet has a header row but no title has a space character at the beginning (the same message appeared even when removing the header row and accepting the default Access column names)
- It didn't matter whether I let Access create the PK or I ask it for no PK, the same message appeared.
How did I fix it? Quit Access and re-start! Import worked like a charm.
I had been importing large txt files all day so it must have got its knickers in a twist and just needed a break.
Hope this helps someone else out there....
Cheers!