MS Access-防止提示保存表格 [英] MS Access - Prevent prompt to save form

查看:86
本文介绍了MS Access-防止提示保存表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,当我通过VBA对表单进行更改(更改记录源,控件源,使控件可见或不可见等)时,系统会在关闭表单时提示用户保存该表单.

Sometimes when I've made changes to the form via VBA (change in record source, control source, making controls visible or not, etc.) the user will be prompted to save the form when closing it.

有什么办法可以避免这种情况或防止出现提示?

Is there any way to avoid this or prevent the prompt?

推荐答案

由于无法在评论下发帖,因此我在答案部分发帖,我是该网站的新手.

Im posting in the answer section because I'm unable to post under comments, I'm Relatively new to this site.

无论如何,您是否在其他用户可能同时使用表单的同时进行更改?这对我而言唯一有意义的是,用户在进行更改时处于表单中,然后要求他们将更改保存到表单中,因为这与他们第一次输入表单的时间有所不同.表格.

Anyways, are you making the changes while other users may be using the form at the same time? That's the only thing that would make sense to me is that a user is in the form when you are making your changes which it then asks them to save the changes to the form, as it would be different from the time they first entered into the form.

这篇关于MS Access-防止提示保存表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆