Parameter object is improperly defined

3aket

New Member
The following is my VBScript code in a classic ASP application:\[code\] Set newParam = command.CreateParameter(Name, ParamType, 1) newParam.Value = http://stackoverflow.com/questions/15571712/Value command.Parameters.Append(newParam) command.Parameters(Name) = Value\[/code\]The 'Append' line always breaks with the following error:
13d8l.png
It seems to make no difference whether the command has a valid active connection or whether the connection is open (the connection is to an Oracle database).The 'Name', 'ParamType' and 'Value' parameter values are correct.What is missing? Or could be wrong?Thanks
 
Back
Top