"Cannot update. Database or object is read-only" on import.

DaveJHPT

Registered User.
Local time
Today, 05:50
Joined
Mar 17, 2005
Messages
64
I'm sure I've missed something obvious but...

I'm getting the above error when I try to import from a text file and can't work out why; I get the same error using TransferText in code.

However, if I open the file, parse the data and put the data onto the table one record at a time (in code), it works fine (but slowly!)

The import file is a straightforward tab-delimited text file.

Can anybody help please?

Dave
 
...

I've checked everything I can think of - I have full access rights to the directory it's in etc. I also get the same problem if I try to link to the table rather than importing it.

I've looked for previous posts on this and can't find anything.

Anybody?

Dave :confused:
 
Sorted!

It just didn't like the extension ".tsv". Changed it to ".txt" and voilà!

Pretty unhelpful error message though... :rolleyes:

Thanks anyway.

Dave
 
How did you get that tsv extension.
As you probably recognized , Access only eats : csv or txt , tab or asc as text files.
 

Users who are viewing this thread

Back
Top Bottom