It would be pointless compacting on open in this case - as the DB has
already been compacted last time it was closed.
--
Wayne
Manchester, England.
"Rodrigo Borges" wrote:
> I have a DB tht loads a form when opened. I want to run a compact DB every
> time I open and close the DB.
>
> Is there a away to accomplis that using macro?
>
Mick wrote:
> The question as I understood it asked HOW to compact and repair in Access
> 2007 not should you!
???
> I am a Developer and would regularly compact the database in 2000-2003
> format since I move alot of data around.
>
> QUESTION: How does one compact and repair a database with a macro or vba
GIYF: