AdoRecordStatusEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoRecordStatusEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the RecordStatus Enum:

The type of action to be performed when SetPermissions is called.

 

Prototype

 

FUNCTION AdoRecordStatusEnum (  )  AS ARRAY

Return

ARRAY        Every row in this array has 2 values:

       The numeric value of the Enum value

       A text representation of this value

 

This array can be used to validate values, and to print a meaningful description of the values during debugging You can pass this array to the AdoEnum2Str() function to convert the value of an Enum to a string

 

Description

 

List of possible values

adRecOK        0        the record was successfully updated.

adRecNew 0x1        the record is new.
adRecModified 0x2        the record was modified.
adRecDeleted 0x4        the record was deleted.
adRecUnmodified 0x8        the record was not modified.
adRecInvalid 0x10        the record was not saved because its bookmark is invalid.
adRecMultipleChanges 0x40        the record was not saved because it would have affected multiple records.
adRecPendingChanges 0x80        the record was not saved because it refers to a pending insert.
adRecCanceled 0x100        the record was not saved because the operation was canceled.
adRecCantRelease 0x400        the new record was not saved because of existing record locks.
adRecConcurrencyViolation 0x800        the record was not saved because optimistic concurrency was in use.
adRecIntegrityViolation 0x1000        the record was not saved because the user violated integrity constraints.
adRecMaxChangesExceeded 0x2000        the record was not saved because there were too many pending changes.
adRecObjectOpen 0x4000        the record was not saved because of a conflict with an open storage object.
adRecOutOfMemORy 0x8000        the record was not saved because the computer has run out of memory.
adRecPermissionDenied 0x10000        the record was not saved because the user has insufficient permissions.
adRecSchemaViolation 0x20000        the record was not saved because it violates the structure of the underlying database.
adRecDBDeleted 0x40000        the record has already been deleted from the data source.  

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()