07-19-2022, 01:06 PM
I'm having problems with a query to a text file. I'm not sure what I'm doing wrong here; can someone see what I'm doing wrong?
Macro Macro6
I get the below error.
The file is there as I used the 'copy as path' method from Windows Explorer.
Thanks.
Macro Macro6
Database dbt.Open(dbt.CsText("C:\Temp\move.txt"))
ARRAY(str) at
dbt.QueryArr("SELECT * FROM move.txt" at)
I get the below error.
Error (RT) in <open ":3116: /11">Macro6: 0x80004005, Unspecified error.
[Microsoft][ODBC Text Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. <help #IDP_ERR>?
Thanks.