S
scott04
I am using the following code in the on close event of my form:
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub
I have heard that you should use the compacting event from a command button.
Can someone give me the reasons that you should only do this on command
rather than every time the form closes? Thanks for your feedback.
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
End Sub
I have heard that you should use the compacting event from a command button.
Can someone give me the reasons that you should only do this on command
rather than every time the form closes? Thanks for your feedback.