Forum Discussion
AlexeyK
13 years agoSmartBear Alumni (Retired)
Arthur,
...
I use following code - it always give me error in line
param1["DataType"] = DB["adVarChar"];
...
I'm not a big specialist in this, but perhaps the property name is Type, not DataType. At least, MSDN and some sites I found in Google use Type.
As far as I can see, you are using C++Script or C#Script, and DataType is a property. However, the JScript engine (that is used for C++/C# scripting) treats it as a parameter/argument that is passed in brackets. That is why, the engine gives the "Arguments are of the wrong type..." error.
Related Content
- 9 months ago
Recent Discussions
- 13 hours ago