VBA anomoly

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there!
I use a VBA module to import a table into Access 2000.
The code is as follows:

DoCmd.TransferText A_IMPORTFIXED, "VALEXCH", "VALEXCH4to1", ImportPath &
"combined\" & "valexchy.dat", False

Running this code on a machine running Windows 2000 there are no problems.
Running the code on a machine running Windows XP Professional the following
error returns:

Run time error '3027':
Cannot update. Database or object is read-only.

Any ideas as to why this might be?
I have been told that the code needs changing as non of file properties have
changed.

Thanks

Jaco
 
Back
Top