ADO » Parameter » Attributes

Syntax:
long = parameterobject.Attributes

Returns a long value defining the characteristics of a Parameter object.

The Attributes property sets or returns a long value that is the sum of one or more ParameterAttributeEnum constants that indicate the characteristics of a Parameter object.
 
The default is adParamSigned. You can combine these constants using the logical OR statement. You can also sum the values, but if you sum incorrectly, an error will be generated.
 
ParameterAttributeEnum Constants
 

Constant Value Description
adParamSigned 16 Accepts signed values
adParamNullable 64 Accepts null values
adParamLong 128 Accepts binary long values

Examples

Code:
objParameter.Attrubutes = adParamLong
Code:
objParameter.Attrubutes = adParamNullable OR adParamLong

See Also: