i am using the following code that i found after searching the Forum
Code:
Public Function CompactData()
SendKeys "%(TDC)", False
End Function
Code:
DoCmd.Close acForm, Me.Name, acSaveNo
CompactData
i added it to the exit button. it does close but the size of the database is not...