I\'m sure this is very simple, but I can\'t find it. In the close event of an Access Form, how can I cancel closing the form? I have a test that counts the records in a tab
Use the "Form_BeforeUpdate(cancel as integer)" event and set cancel to True.
Notice that you simply will not be able to close at all unless you add some logic to actually allow updating the database.