Attachment.Locked property (Access)
The Locked property specifies whether you can edit data in a control in Form view. Read/write Boolean.
Syntax
expression.Locked
expression A variable that represents an Attachment object.
Remarks
The default setting of the Locked property is True. This setting allows editing, adding, and deleting data.
Use the Locked property to protect data in a field by making it read-only. For example, you might want a control to only display information without allowing editing, or you might want to lock a control until a specific condition is met.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for