Attachment.ControlType Property (Access)

You can use the ControlType property in Visual Basic to determine the type of a control on a form or report. Read/write Byte.

Version Information

Version Added: Access 2007

Syntax

expression .ControlType

expression A variable that represents an Attachment object.

Remarks

The ControlType property setting is an AcControlType constant that specifies the control type.

Note

The ControlType property can only be set by using Visual Basic in form Design view or report Design view, but it can be read in all views.

The ControlType property is also used to specify the type of control to create when you are using the CreateControl method.

See Also

Concepts

Attachment Object Members

Attachment Object