Pergunta

A process that I am running needs to be able to delete a table and then re-create it with new data. I've recently moved it into a different database that houses all the processes for a particular division in one place. I've been required to have all the tables from the original database set up as linked tables in the new one. Now when it is run, the process deletes the linked table reference and creates a new (un-linked) table inside the new database. I know that I can delete the table through the link, but would I then be able to re-create the table and then re-link it to the new database automatically?

Foi útil?

Solução

There are a number of ways of linking tables, but you seem to be working purely with MS Access, so DoCmd.TransferDatabase includes Link as one of the options.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top