Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

Delete Queries, Forms, Reports And Modules

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 19 Jan 2006 02:24 GMT
How can all the queries, forms, reports and modules be programatically
deleted from an external database?

Thanks!
Alex Dybenko - 19 Jan 2006 05:28 GMT
Hi,
you can open this database in access via automation (set
oAcc=createObject..)

then go through all forms using oAcc.CurrentProject.AllForms to get forms
names
and delete using oAcc.docmd.DeleteObject
same for modules and repots and queries

Signature

Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> How can all the queries, forms, reports and modules be programatically
> deleted from an external database?
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.