E
Eric_LA
Hi
I have a database that I need to import a table from on a weekly basis.
Let's call it "ExtDB.mdb." The table is named according to the date it was
created, say "tblData_February_02." (I know the pitfalls of this naming
convention; it's not my design and outside my sphere of influence.). The
database itself is stored on a fixed location on our network.
I'd like to set up a form button that would make use of
DoCmd.TransferDatabase. How would I code it so that when the button is
clicked, the user is able to browse the list of tables in ExtDB and choose
the one to import? I would want to rename the imported table to a fixed
value, say "tblData_Current," and overwrite the table if it already exists.
Thanks,
Eric
I have a database that I need to import a table from on a weekly basis.
Let's call it "ExtDB.mdb." The table is named according to the date it was
created, say "tblData_February_02." (I know the pitfalls of this naming
convention; it's not my design and outside my sphere of influence.). The
database itself is stored on a fixed location on our network.
I'd like to set up a form button that would make use of
DoCmd.TransferDatabase. How would I code it so that when the button is
clicked, the user is able to browse the list of tables in ExtDB and choose
the one to import? I would want to rename the imported table to a fixed
value, say "tblData_Current," and overwrite the table if it already exists.
Thanks,
Eric