Copying a table with DAO

  • Thread starter Thread starter vsoler
  • Start date Start date
V

vsoler

In my small application, I need to copy tblTableA into a new
tbltableB, structure + contents. How can I do this using the DAO
object Model in VBA?

thanks for any help
 
vsoler said:
In my small application, I need to copy tblTableA into a new
tbltableB, structure + contents. How can I do this using the DAO
object Model in VBA?

thanks for any help

This (IMO) is the easiest way:

DoCmd.TransferDatabase acExport, "Microsoft Access", _
CurrentDb.Name, acTable, tblTableA, tbltableB, False
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top