delete table

C

Craig

How does one delete the existence of a table using VBA
code. Note: not delete the records in a table. I mean
delete the whole thing from existence.

any help is once again appreciated. Thanks
 
S

StCyrM

Good morning Craig

Try the DeleteObject action or DeleteObject method as shown in MS Access Help

Hope this helps

Maurice St-Cyr
Micro Systems Consultants, Inc
 
G

Guest

you can execute a DDL query ...

CurrentDB.Execute "DROP Table MyTable", dbFailOnError

Steve
 

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

Top