- The parameter initialization when the param value is null has a wrong index. It says:
Code: Select all
[...]
if Param.IsNull then
Statement.SetNull(I, ConvertDatasetToDbcType(Param.DataType))
[...]
Code: Select all
[...]
if Param.IsNull then
Statement.SetNull(I+1, ConvertDatasetToDbcType(Param.DataType))
[...]
Code: Select all
[...]
ftString:
Statement.SetString(I+1, Param.AsString);
[...]
Code: Select all
[...]
ftString, ftFixedChar:
Statement.SetString(I+1, Param.AsString);
[...]
I'm using the trunk version, but the file is identical in the testing branch.
Thanks,
Och