Every time I try to import a CSV file into my Access database it crashes. I've tried repairing it but the repaired database crashes as well. Any ideas on what could cause this?
Nope, I created a new database and table with the same number of fields and same field types as the original and got the same error:
"Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience."
You are pushing Access in a manner that it cannot deal with (no kidding !). Try cutting down the length and width of the CSV file until you get Access to import something without crashing. Then build it back up 'til you find the problem again.
I dont have control over how the CSV file is exported to us and it's too big to open in Excel. Anyway, we've imported much bigger CSV files in the past so I dont think it's the size.
I didn't know you could import a file without having a table first, but I received the same error message in doing it that way. I also tried converting it to a text file and importing it but same problem.
Do you think it could be a problem with Access itself and not the database or file format? I'll try getting it reinstalled and see if that fixes anything. I'm still definitely open to any other ideas. Thanks again for all the feedback so far.
Can you post a sample of your file [and db]? Remove or replace the sensitive stuff. Let somebody else test the file and see if it is just your install of Access or a limitation of Access. Ensure that your sample file also bombs on your computer before you post it.