Hi, Basically what the title says.
An application I am developing uses
Code:
DoCmd.TransferDatabase acLink, "ODBC Database", strConnect, acTable, Tablename(i), Tablename(i)
and I was wondering if I need to go onto every computer that will use it and setup an ODBC connection in the windows ODBC Data Sources or if maybe I could use a different method of retrieving the tables and setting them up as linked tables?
I don't believe it is an issue with the connection string as when I setup a connection inside ODBC Data Sources everything worked fine but regardless here is my connection string:
Code:
strConnect = "ODBC;Driver={ODBC Driver 11 for SQL Server};Server=ServerName;Database=DBname;Network=DBNMPNTW;UID=UID;PWD=PWD;"
The TableName(i) is just to cycle through a multidimensional variable(if that's what you call it? please correct my terminology if I'm wrong)
Code:
Dim TableName(0 To 6) As String
Thanks!