create table from table

  • Thread starter Thread starter Bill H.
  • Start date Start date
B

Bill H.

What is the VBA code for creating an empty table from an existing empty
table?

Thx.
 
What is the VBA code for creating an empty table from an existing empty
table?

Thx.

DoCmd.CopyObject , "NewTableName", acTable, "OldTableName"
 
Thank you!

but how to automatically delete the newtablename if it already exists
without getting the access prompt?
 

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

Back
Top