G
Guest
I have a 3rd party app that creates dBase III files with the extension CS
instead of DBF. I'm hoping to link these files in Access 2003 and read them
live which means I would like to avoid making copies of the files with the
correct extension.
Using the following code where sFile is the full path I can import the files
if I rename the extension to dbf just fine. However, I get Run-time error
'3011' if I import that same file with the CS extension.
DoCmd.TransferDatabase acLink, "dBase III",
fso.GetParentFolderName(sFile), acTable, fso.GetFileName(sFile),
fso.GetBaseName(sFile)
I've seen people reference http://support.microsoft.com/kb/306144 but that
seems specific to text files, not dBase files.
Any thoughts on how to get Access 2003 to link to these files without having
to rename the file or copy it?
Thanks,
Bryan
instead of DBF. I'm hoping to link these files in Access 2003 and read them
live which means I would like to avoid making copies of the files with the
correct extension.
Using the following code where sFile is the full path I can import the files
if I rename the extension to dbf just fine. However, I get Run-time error
'3011' if I import that same file with the CS extension.
DoCmd.TransferDatabase acLink, "dBase III",
fso.GetParentFolderName(sFile), acTable, fso.GetFileName(sFile),
fso.GetBaseName(sFile)
I've seen people reference http://support.microsoft.com/kb/306144 but that
seems specific to text files, not dBase files.
Any thoughts on how to get Access 2003 to link to these files without having
to rename the file or copy it?
Thanks,
Bryan