<< Click to Display Table of Contents >> AdoRecordCreateOptionsEnum() Function |
![]() ![]() ![]() |
All the values of the RecordCreateOptions Enum:
The type of action to be performed when SetPermissions is called.
FUNCTION AdoRecordCreateOptionsEnum ( ) AS ARRAY
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
List of possible values
adCreateCollection | 0x2000 Creates a new Record at the node specified by Source parameter, instead of opening an existing Record. If the source points to an existing node, then a run-time error occurs, unless adCreateCollection is combined with adOpenIfExists or adCreateOverwrite. |
adCreateNonCollection | 0 Creates a new Record of type adSimpleRecord. |
adCreateOverwrite | 0x4000000 Modifies the creation flags adCreateCollection, adCreateNonCollection, and adCreateStructDoc. When OR is used with this value and one of the creation flag values, if the source URL points to an existing node or Record, then the existing Record is overwritten and a new one is created in its place. This value cannot be used together with adOpenIfExists. |
adCreateStructDoc | 0x80000000 Creates a new Record of type adStructDoc, instead of opening an existing Record. |
adFailIfNotExists | -1 Default. Results in a run-time error if Source points to a non-existent node. |
adOpenIfExists | 0x2000000 Modifies the creation flags adCreateCollection, adCreateNonCollection, and adCreateStructDoc. When OR is used with this value and one of the creation flag values, if the source URL points to an existing node or Record object, then the provider must open the existing Record instead of creating a new one. This value cannot be used together with adCreateOverwrite. |
Enums, AdoEnum2Str(), AdoStr2Enum()