That's it - all you have to do is wrap it inside a RunSQL or QueryDef statement.
eg
DoCmd.RunSQL "DROP TABLE tablename;"
If this sounds to simple to you, it may be that there was a sub or function created called DropTable, if this is the case though I would need the function prototype/source code for it to work out what it does and how it works.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.