FireDAC.Stan.Error.TFDDBError.RowIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RowIndex: Integer read FRowIndex write FRowIndex;

C++

__property int RowIndex = {read=FRowIndex, write=FRowIndex, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Stan.Error.pas
FireDAC.Stan.Error.hpp
FireDAC.Stan.Error TFDDBError

Description

Returns a row index, where an error occurred.

Use the RowIndex property to get a row index in an Array DML operation, where a DBMS encountered an error condition.

If an error or a warning belongs to the full operation or an operation was not an Array DML operation, the RowIndex property value is equal to -1. Otherwise, it is greater than or equal to an AOffset property value of an Execute method call.

Note that some DBMSs for some Array DML operations cannot produce the correct RowIndex value, this will be the equal to -1.

See Also