Compact + Repair When Exiting Access Form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flickimp
    New Member
    • Dec 2006
    • 37

    Compact + Repair When Exiting Access Form

    Hi

    I have created a Database with several Forms that all have an Exit button at the top.

    What I would like is for the database to compact and repair itself whenever the user exits the database?

    Do I create a macro? and attach it to a button? If so.....please help.

    Many thanks!

    Imran
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    Simply go in tools -> Options -> General and check Compact on close!

    Comment

    • flickimp
      New Member
      • Dec 2006
      • 37

      #3
      How simple!
      Cheers

      Comment

      Working...