A
a
Hi,
We are migrating our database from Access 97 to Access 2003.
In our 97 version this line worked fine:
DoCmd.TransferText acImportFixed, "HDMARTPC", "tbl3031_HDMARTPCDAT",
"C:\HdbDatabase2003\hdmartpc.dat"
But in the 2003 version I am getting error 31519 (translated):
You can't import this file.
It seems that in Access 2003 it is no longer possible to read from a
textfile with a suffix .dat,
because when I rename my sourcefile to hdmartpc.txt, I can import this file
with no problem.
I only want to use the option to rename this file as a last resort, because
in the database there are many similar lines with links to other files.
Any help is appreciated
We are migrating our database from Access 97 to Access 2003.
In our 97 version this line worked fine:
DoCmd.TransferText acImportFixed, "HDMARTPC", "tbl3031_HDMARTPCDAT",
"C:\HdbDatabase2003\hdmartpc.dat"
But in the 2003 version I am getting error 31519 (translated):
You can't import this file.
It seems that in Access 2003 it is no longer possible to read from a
textfile with a suffix .dat,
because when I rename my sourcefile to hdmartpc.txt, I can import this file
with no problem.
I only want to use the option to rename this file as a last resort, because
in the database there are many similar lines with links to other files.
Any help is appreciated