PROPERTY: Parameter::Attributes

long = parameterobject.Attributes
 
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

 
Code (VBScript):
objParameter.Attrubutes = adParamLong
or
objParameter.Attrubutes = adParamNullable OR adParamLong

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information