[AccessD] changing to A2K: error in import

Mitsules, Mark S. (Newport News) Mark.Mitsules at ngc.com
Tue May 11 10:40:34 CDT 2004


Two work-arounds come to mind.

First:
shell out
rename the file
complete the transfer
shell out
rename the file back again

Second:
shell out
copy the file to a temp file with .txt extension
complete the transfer
shell out
kill the temp file



Mark


-----Original Message-----
From: pedro at plex.nl [mailto:pedro at plex.nl] 
Sent: Tuesday, May 11, 2004 12:02 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] changing to A2K: error in import


Hello grooup,

i have a database in A97 that works fine. I am converting this database to
A2k and i get an error when importing a file. The import is done with a
macro with the TransferText action. I use for this an Import spec on a
filename that has an extension ".gyn". The text in this file is normal
textfile in columns. When using this macro i get an error: Cannot update.
Database or object is read-only. I double checked, nothing is read only. In
A97 this works fine. In A2k it only works when changing the extension to
".txt" (the file and the FileName in the macro).

How is this possible?
I don't want to change the extensions of the filenames to ".txt., because
these extensions helps me to keep files separated for different macro's and
different actions.


Pedro Janssen
Cytologist
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list