Wrox Programmer Forums
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 4th, 2004, 10:30 AM
Registered User
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default compact access database


is it possible to compact the current database from the vb code in the module? is manually clicking : tools, database utilities, compact and repair database - the only way to compact the current database ?

i understand that there is a compactrepair method. However this does not apply to the current database. This method can only be used from outside the current database.

Old January 4th, 2004, 11:34 AM
Authorized User
Join Date: Jun 2003
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts

Check this out:


Kenny Alligood
Old January 5th, 2004, 06:51 PM
sal sal is offline
Friend of Wrox
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts

view this thread


you also need to decompile as mentioned in the thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compact and Repair Access Database raguapk VB How-To 8 May 23rd, 2013 10:00 AM
Compact Access Database tang_moor VB Databases Basics 1 February 10th, 2007 04:10 PM
Compact Access Database tang_moor Access VBA 0 January 30th, 2007 02:38 PM
Compact And Repair Access Database myedu2k4 Pro VB Databases 1 May 25th, 2004 01:43 AM
Compact Access Database lai_ccca Access VBA 0 January 9th, 2004 08:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.