How do I get # of records processed

migregg

Member
When using a TOracleDataSet to run a delete or update statement how can I find out how many rows were processed?

Michael Gregg
 
The best way to do this is by using a TOracleQuery instead, which has a RowsProcessed property.

The TOracleDataSet does not have this property, but you can use the (protected) InternalQuery property to obtain the TOracleQuery instance that is used internally to perform the delete/update. Since this method is protected, you need to derive a your own object type from TOracleDataSet.

------------------
Marco Kalter
Allround Automations
 
Back
Top