I have a database which I have automated to bring in and append text files to a table; this is working fine as it prompts the user to find the file and then it uses the import spec to append to the table. (using docmd.transfertext)
I'm now trying to do something similar, but by bringing in an Access table. I'm automating a database that someone else set up. There are 3 tables in the database which are updated bimonthly through new tables that are sent via email to users.
The 3 updated tables that are received by users are sometimes in one database, sometimes in 3 separate databases, so can't count on uniformity in name, etc.
Currently the tables are 1)imported as they are named (ex: ImportSales), 2) brought into the regular table through addendum query, 3) the imported table is deleted. Naturally, I want them to be able to just import the data into the regular tables without having to append, delete, etc.
What is the best way to do this AUTOMATED? I'm thinking transferdatabase but I'm not sure how to set it up in code for them to select each time the filename AND the table to be imported.
I'm now trying to do something similar, but by bringing in an Access table. I'm automating a database that someone else set up. There are 3 tables in the database which are updated bimonthly through new tables that are sent via email to users.
The 3 updated tables that are received by users are sometimes in one database, sometimes in 3 separate databases, so can't count on uniformity in name, etc.
Currently the tables are 1)imported as they are named (ex: ImportSales), 2) brought into the regular table through addendum query, 3) the imported table is deleted. Naturally, I want them to be able to just import the data into the regular tables without having to append, delete, etc.
What is the best way to do this AUTOMATED? I'm thinking transferdatabase but I'm not sure how to set it up in code for them to select each time the filename AND the table to be imported.