A
Arthur Dent
Please, help, anyone, any ideas, i'm frantic!
I am TRYing to import a CSV file into an Access table. I set up an import
specification, ran it manually to test, all worked fine, data imported, all
was happy, no problems.
So now i go to try to call that spec, using DoCmd.TransferText, and it is
giving me an error which simply states "Invalid argument." That's it. no
help as to which argument or why, and near as i can tell, there is nothing
wrong with any of my arguments. My code is the following:
DoCmd.TransferText acImportDelim, "MyImportSpec", "MyDestinationTable",
fname, True
ANY ideas or help? I thought i could try using the Scripting runtime, and
use regular expressions, but I cant find online anywhere any regex's which
actually work. The closest i got was one which returned me only the first
column. No help.
I am using Access 2007, (on Vista FWIW)
Thanks!!!!
I am TRYing to import a CSV file into an Access table. I set up an import
specification, ran it manually to test, all worked fine, data imported, all
was happy, no problems.
So now i go to try to call that spec, using DoCmd.TransferText, and it is
giving me an error which simply states "Invalid argument." That's it. no
help as to which argument or why, and near as i can tell, there is nothing
wrong with any of my arguments. My code is the following:
DoCmd.TransferText acImportDelim, "MyImportSpec", "MyDestinationTable",
fname, True
ANY ideas or help? I thought i could try using the Scripting runtime, and
use regular expressions, but I cant find online anywhere any regex's which
actually work. The closest i got was one which returned me only the first
column. No help.
I am using Access 2007, (on Vista FWIW)
Thanks!!!!