I am trying to build a database that will allow for records to be transferred from one database to another. Basically each database would house separate data sets that have identical tables with different information. I would like the user to be able to choose from a drop down which database to transfer the record to. An example would be, moving one record from the Texas database to the Florida database because the state has changed. I am currently trying to re-work the below query to point at a text or combo box to adjust the value.
Query1:
INSERT INTO Table1 IN 'C:\Users\Name\Documents\Database 2.accdb'
SELECT *
FROM Table1;
I would like to be able to have "C:\Users\Name\Documents\Database 2.accdb" come from the Form1 control textbox named DirectoryPath.
Thanks!