VarType Property

See Also    Examples    Applies To

Returns/sets the type of the control's value. As well as that type the control may return Null or Empty.

Property VarType As VbVarType

ctl.VarType [= vbVarType]

Initially the VarType is set to vbString. If the control is bound to a database field, the VarType is set according to the type of that field. If the VarType property is set to vbDate you may drop down a Datepicker from the txt control.