Getrowsaffected, Getrowsaffected 217 – Kofax DM API User Manual

Page 237

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

217

GetRowsAffected

GetRowsAffected

This method reports the number of rows in the SQL database that were
affected by the latest

DELETE

,

INSERT

, or

UPDATE

structured query

language statement executed against the DM library.

Syntax

PCDSQL.GetRowsAffected()

Returns

The GetRowsAffected method returns a long integer that contains the
number of rows affected by the most recent SQL statement that resulted
in a

DELETE

,

INSERT

, or

UPDATE

operation.

Example

The

Example

in

PCDSQL

illustrates how you can use GetRowsAffected

in your custom applications.

Related Items

See the

PCDSQL

object.

See the following properties:

ErrDescription
ErrNumber

Advertising