Attachment.AttachmentCurrent event (Access)

Occurs when the focus moves to or from a file contained in the specified Attachment control, making it the current attachment, or when the form is refreshed or requeried.

Syntax

expression.AttachmentCurrent

expression A variable that represents an Attachment object.

Remarks

By running a macro or event procedure when the AttachmentCurrent event occurs, you can display a message or synchronize controls in the form related to the current attachment.

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.