I'm trying to insert data into a table in my current database from a similar table in another database. From inside my MS-Access ADP file I'm trying to do something like...
strSQL = "INSERT INTO [myTable] SELECT [theOtherTable].* FROM [TheOtherDatabase].[theOtherTable]"
DoCmd.RunSQL (strSQL)
Obviously, I will need to create a connection to the other database, but then how do I specify that in the SQL statement?
strSQL = "INSERT INTO [myTable] SELECT [theOtherTable].* FROM [TheOtherDatabase].[theOtherTable]"
DoCmd.RunSQL (strSQL)
Obviously, I will need to create a connection to the other database, but then how do I specify that in the SQL statement?