I was trying to execute an insert statement and assign a parameter like that:
Code: Select all
<TIBCSQL>.parameterbyname('para1').assingle := table1.fieldbyname('f2').assingle;also before that error I was getting this error message after trying to assign many parameter "assingle"Dynamic SQL ErrorSQL error code = -804Incorrect values within SQLDA structure.
After long time of investigation I found the filed 'f2' is null. Is that because of the null values or something else ? the error messages are not clear.Unknown data type
thanks