PROPERTY: Parameter::Value

variant = fieldobject.Value
parameterobject.Value = variant
 
The Value property is used to set or return the value of the Parameter object.
 
Before you try to read the Value property, the Recordset should be closed. ADO can read the Value property of a Parameter object only once from the provider.
 
Code (VBScript):
Set objParameter = Server.CreateObject("ADODB.Parameter")

objParameter.Type = adInteger
objParameter.Size = 3
objParameter.Direction = adParamInput
objParameter.Value = intCount

objCommand.Parameters.Append objParameter

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