Data.Win.ADODB.TRecordStatusSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TRecordStatusSet = set of TRecordStatus;

C++

typedef System::Set<TRecordStatus, TRecordStatus::rsOK, TRecordStatus::rsDBDeleted> TRecordStatusSet;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB Data.Win.ADODB

Description

TRecordStatusSet values indicate the status of the current record relative to batch updates or other bulk operations.

Use TRecordStatusSet values to determine the status of the current row.

The constants that make up the TRecordStatus type correspond directly to the ADO RecordStatusEnum values used for the Status property of the ADO Recordset object. For additional information on these ADO constants and their effects, see the Microsoft Data Access SDK help in the topic for the Status property of the ADO Recordset object.

A TRecordStatusSet value may contain any one or more of the following constants:



Record Status Set Constant Meaning

rsOK

The row was successfully updated.

rsNew

The row is a new insert.

rsModified

The row has been modified.

rsDeleted

The row has been deleted.

rsUnmodified

The row has not been modified since being retrieved.

rsInvalid

The row was not saved because the bookmark was invalid.

rsMultipleChanges

The row was not saved because it would have affected multiple rows.

rsPendingChanges

The row was not saved because it refers to a pending insert.

rsCanceled

The row was not saved because the operation was canceled.

rsCantRelease

The new row was not saved because of existing row locks.

rsConcurrencyViolation

The row was not saved because optimistic concurrency was in use.

rsIntegrityViolation

The row was not saved because the user violated integrity constraints.

rsMaxChangesExceeded

The row was not saved because there were too many pending changes.

rsObjectOpen

The row was not saved because of a conflict with an open storage object.

rsOutOfMemory

The row was not saved because the computer has run out of memory.

rsPermissionDenied

The row was not saved because the user has insufficient permissions.

rsSchemaViolation

The row was not saved because it violates the structure of the underlying database.

rsDBDeleted

The row has already been deleted from the data source.



See Also