dw85745 Posted January 14, 2013 Share Posted January 14, 2013 To get started heres one for transferring from a Foreign Db to the Current DB that took me a day to figure out. strSQL = "INSERT INTO " & strDestTBLName & "" _ & " SELECT * " _ & "FROM " & strScrTBLName & "" _ & " IN '" & strScrPathDB & "';" '<<Note use of single quotes required around strScrPathDB ' Debug.Print strSQL DaoDb.Execute strSQL, dbFailOnError '<<Execute belongs to DaoDB (Destination DB) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now