RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ADODB.TRecordStatusSet Type

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

Pascal
TRecordStatusSet = set of TRecordStatus;
C++
TRecordStatus TRecordStatusSet;

ADODB

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 due 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.  

 

TCustomADONETConnector

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!