Hello
is here any way to get the 'RowsAffected' for update and delete statement, if i use UniScript?
Thx
Christian
UniScript and RowsAffected
Hello,
The RowsAffected property is not supported by TUniScript, however, you can retrieve the rows affected number by attaching any DataSet (for example, TUniQuery) to TUniScript and summing up the RowsAffected property value in the AfterExecute event of the DataSet after each operation. When attaching DataSet, the operators specified in UniScript are executed with the help of this DataSet.
The RowsAffected property is not supported by TUniScript, however, you can retrieve the rows affected number by attaching any DataSet (for example, TUniQuery) to TUniScript and summing up the RowsAffected property value in the AfterExecute event of the DataSet after each operation. When attaching DataSet, the operators specified in UniScript are executed with the help of this DataSet.