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.

Version Added: Access 2007

expression .AttachmentCurrent

expression A variable that represents an Attachment object.

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.