Reports the number of rows affected by the most recent database operation.
Web ActiveX Transaction Object control
number transaction.GetSQLNRows( )
Number. The number of affected rows.
The number of rows is supplied by the database vendor, so the meaning may not be the same in every DBMS.
This example updates the database and, if no errors occurred, reports the number of rows affected:
dw_1.Update( );
if (trans_1.GetSQLCode( ) == 0) {
alert("Rows updated: " + trans_1.GetSQLNRows( ));
}