I am trying to write a macro that will import a table or series of tables from an ODBC SQL database.
I'm using the "TransferDatabase" option in the macro with this argument in the 'DatabaseName' property...
Driver={SQL Server};database=dbName;Server=srvName;UID=User;password=Password;
I'm getting an error. I know the data is there since I can MANUALLY import the table, but I cannot get the macro to automate it.
Doing this in a Module VBA options would be fine too. Any help?
I'm using the "TransferDatabase" option in the macro with this argument in the 'DatabaseName' property...
Driver={SQL Server};database=dbName;Server=srvName;UID=User;password=Password;
I'm getting an error. I know the data is there since I can MANUALLY import the table, but I cannot get the macro to automate it.
Doing this in a Module VBA options would be fine too. Any help?