|
3#
楼主 |
发表于 2016-4-19 16:26:24
|
只看该作者
谢谢 建议, 我找到方法了。 目前实现1,2列只读, 3~8列读写:
Once the data has been entered:
1. Open the table in design view.
2. Open the Properties box (View menu).
3. Beside the table's Validation Rule in the Properties box (not the
Validation Rule in the lower pane of the table design window, which applies
to a field), enter:
False
4. Save, answering No to the question about testing existing data.
The Validation Rule is an expression that evaluates to True or False. Since
this expression is always false, Access won't allow any entries or
alterations. You will need to prevent deletions in the form (set
AllowDeletions to No.)
If you need to do this programmatically, CreateProperty() on the TableDef().
Of course, full-blown Access security is the more comprehensive solution. |
|