Hey i need a button on a form that when you rpess it it performs the compact and repair function on the current database.
i tried using the docmd.domenuitem but can't find the compact and repair option and also i've tried the application.compactrepair but it says you can't preform this operation on an open database. if you close the database it stops the code.
does any1 have any ideas
thanking you in advance
rick
i tried using the docmd.domenuitem but can't find the compact and repair option and also i've tried the application.compactrepair but it says you can't preform this operation on an open database. if you close the database it stops the code.
does any1 have any ideas
thanking you in advance
rick