Preventing close buttons from saving records in MS Access

后端 未结 6 1207
小蘑菇
小蘑菇 2021-02-10 11:42

In a Microsoft Access form, whenever the current record changes, any changes in bound controls are silently saved to the database tables. This is fine, but I don\'t want it to h

6条回答
  •  梦毁少年i
    2021-02-10 12:14

    Actually, you cannot trap this, Access is working directly upon the table, every change is already being saved when the field looses the focus by moving to another field, record or a button.

    Actually imho this is a great advantage compared to Excel

    If you really want a behaviour similar to Excel you'd need to work on a copy of the table and some code for updating.

提交回复
热议问题