Charlotte Foust
cfoust at infostatsystems.com
Wed Mar 17 12:07:19 CDT 2010
In DAO, it should be pretty simple. Just refer to the forms or reports collection, start from the highest index in the collection and call delete. You have to work backwards to loop through all of them Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Wednesday, March 17, 2010 9:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Delete all reports and all forms Anybody know how to loop through and delete all reports and all forms. It seems that Access will not let you delete from the collections. Must be a programmable way but never done it before. Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com