Hello speedbit,
In VB, you'd use code like this to compact and repair an access database....
Public Sub CompactAccessDataBase(dbPa
Dim acc As Object
Set acc = CreateObject("Access.Appli
acc.CompactRepair dbPath, NewPath
Set acc = Nothing
End Sub
Sub test()
CompactAccessDataBase "C:\YourDatabase.mdb", "C:\YourDatabase_NEW.mdb"
End Sub
Regards,
Wayne
Main Topics
Browse All Topics





by: tbsgadiPosted on 2007-07-19 at 00:49:25ID: 19520008
Hi speedbit,
ccess/bloa tfe.htm
Everything you want to know about bloating mdbs
http://www.granite.ab.ca/a
Good Luck!
Gary