G
Guest
We want to capture a user click on the 'X' to close access and run the
following code to compact the database every exit. I can only hope that there
is a way (maybe API call) that I can use to capture this. We have to force a
compact on exit.
Thanks in advance
Rossco
Public Sub CompactDB()
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub
following code to compact the database every exit. I can only hope that there
is a way (maybe API call) that I can use to capture this. We have to force a
compact on exit.
Thanks in advance
Rossco
Public Sub CompactDB()
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub