Is there a way to delete all Access objects(tables, queries, forms, etc) using vba?
Delete all MS Access Objects
Collapse
This topic is closed.
X
X
-
Tags: None
-
It is of course possible to delete items from tabledef, querydef collections and so on. I see no legitimate use of such techniques to remove all tables, forms etc in an Access database.
Even if the circumstances related to a trial database it would be ill-advised to remove tables populated by users, as the data belongs to the user, not to the developer.
We cannot post code which could be used to damage or destroy an Access database for what must surely be malicious purposes, and to prevent further attempts to do so I am closing this thread.
-Stewart
Comment