Name
RecordCreateOptionsEnum Enumeration — (Versions 2.5, 2.6)
Synopsis
The RecordCreateOptionsEnum enumeration indicates whether the new record should be created or an existing record should be opened when using the Open method of the Record object.
Table E-38. The RecordCreateOptionsEnum Enumeration
|
Enumeration |
Value |
Description |
|---|---|---|
adCreateCollection |
8192 (&H2000) |
Indicates that a new record is to be created. If one already exists,
a runtime error is generated unless if this value is combined with
|
adCreateNonCollection |
0 |
Indicates that a simple record (type adSimpleRecord) will be created. |
adCreateOverwrite |
67108864 (&H4000000) |
Indicates that a new record is to be created if one does not already exists, or, if it does exist, that it will be overwritten. |
adCreateStructDoc |
-2147483648 (&H80000000) |
Indicates that a structured document (type adStructDoc) will be created. |
adFailIfNotExists |
-1 (&HFFFFFFFF) |
Default. Indicates that a runtime error will be generated if the record specified does not already exist. |
adOpenIfExists |
33554432 (&H2000000) |
Indicates that the record specified will be opened only if it exists. |
ADO/WFC
The RecordCreateOptionsEnum enumeration does not have ADO/WFC constants.
See Also
Record.Open Method
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access