RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBQuery.RowsAffected Property

Returns the number of rows operated upon by the latest query execution.

Pascal
property RowsAffected: Integer;
C++
__property int RowsAffected;

Check RowsAffected to determine how many rows were updated or deleted by the last query operation. If RowsAffected is -1, the query did not update or delete any rows. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!