如何锁定记录中的字段或使其只读 [英] How to lock a field in a record or make it read only

查看:66
本文介绍了如何锁定记录中的字段或使其只读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Access世界中相当新。我想知道如何阻止用户更改输入到记录的特定字段的数据。完成数据输入后,他们应该能够看到信息但无法更改。

Hi, Im fairly new in the Access world. I would like to know how I can prevent users from changing data entered into a specific field of a record. Once I have completed the data Entry they should be able to see the information but not be able to change it.

推荐答案


我在Access世界中相当新。我想知道如何阻止用户更改输入到记录的特定字段的数据。完成数据输入后,他们应该能够看到信息,但无法更改。
Hi, Im fairly new in the Access world. I would like to know how I can prevent users from changing data entered into a specific field of a record. Once I have completed the data Entry they should be able to see the information but not be able to change it.



这是一种方法,假设您使用绑定表单进行数据输入:

Here is one way, assuming that you are using a bound form for data entry:

展开 | 选择 | Wrap | 行号


您好

这是一种方法,假设您使用绑定表单进行数据输入:
Here is one way, assuming that you are using a bound form for data entry:
展开 | 选择 | Wrap | 行号


您可以随时进入属性并更改

启用=假

锁定=真


并忽略它的VB侧。
You could always just go into the Properties and change
Enabled = False
Locked = True

and ignore the VB side of it.


这篇关于如何锁定记录中的字段或使其只读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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