AllowEdits Property

Applies To

Form.

Description

You can use the AllowEdits property to specify whether a user can edit saved records using a form.

Setting

The AllowEdits property uses the following settings.

Setting Description Visual Basic
Yes (Default) The user can edit saved records. True (-1)
No The user can’t edit saved records. False (0)


You can set the AllowEdits property in the form’s property sheet, a macro, or using Visual Basic.

Remarks

You can use the AllowEdits property to prevent changes to all data displayed by a form. If you want to prevent changes to data in a specific control, use the Enabled or Locked properties.

If you want to prevent changes to existing records (make a form read-only), set the AllowAdditions, AllowDeletions, and AllowEdits properties to No. You can also make records read-only by setting the RecordsetType property to Snapshot.

See Also

AllowAdditions Property; AllowDeletions Property; DataEntry Property; Enabled, Locked Properties; RecordsetType Property.

Example

See the AllowAdditions property example.