Fizzio Chief Torturer Local time Today, 19:13 Joined Feb 21, 2002 Messages 1,885 Dec 23, 2004 #21 Fizzio said: This is Db specific Click to expand... It is set for the particular Db, not by PC, so if you set it on your Db, this will be apply for every PC it runs on.
Fizzio said: This is Db specific Click to expand... It is set for the particular Db, not by PC, so if you set it on your Db, this will be apply for every PC it runs on.
D Damonpc Guest Jan 12, 2005 #22 Whilst this code does not do it automatically on close it could be called from your closing code. I have it run from a button on the switchboard. Hope it helps. Option Compare Database Sub Compacts() CommandBars("Menu Bar"). _ Controls("Tools"). _ Controls("Database utilities"). _ Controls("Compact and repair database..."). _ accDoDefaultAction End Sub Damon
Whilst this code does not do it automatically on close it could be called from your closing code. I have it run from a button on the switchboard. Hope it helps. Option Compare Database Sub Compacts() CommandBars("Menu Bar"). _ Controls("Tools"). _ Controls("Database utilities"). _ Controls("Compact and repair database..."). _ accDoDefaultAction End Sub Damon