Enums

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Enums

Previous pageReturn to chapter overviewNext page

COM objects often use so-called enumerated types to define constants. Unfortunately this concept is not supported by Visual Objects. ADO does this as well.

Vo2Ado has included defines for all the defined constants that are available in ADO.

To be able to check and display enumerated values we have added some support functions to Vo2Ado that help to manage these enumerated types. These functions can be divided into two categories:

1.Functions that return an array with all the different values supported by an enumerated type. These functions return two-dimensional arrays where each line contains of the numeric value followed by its description.
2.Functions that allow to convert enumerated types into strings and vice versa. These helper functions use the arrays that are returned by the first category of functions.

 

1.  Actual Enum functions

AdoActionEnumAction Enum
AdoAffectEnumAffect Enum
AdoAllowNullsEnumAllowNulls Enum
AdoAsyncThreadPriorityEnumAsyncThreadPriority Enum.
AdoAutoRecalcEnumAutoRecalc Enum.
AdoBookmarkEnumBookmarkEnum.
AdoCEResyncEnumCEResync Enum
AdoColumnAttributesEnumColumnAttributes Enum
AdoCommandTypeEnumCommandType Enum
AdoCompareEnumCompare Enum
AdoConnectModeEnumConnectMode Enum
AdoConnectOptionEnumConnectOption Enum
AdoConnectPromptEnumConnectPrompt Enum
AdoCopyRecordOptionsEnumCopyRecordOptions Enum
AdoCursorLocationEnumCursorLocation Enum
AdoCursorOptionEnumCursorOption Enum
AdoCursorTypeEnumCursorType Enum
AdoDataTypeEnumDataType Enum
AdoEditModeEnumEditMode Enum
AdoErrorValueEnumErrorValue Enum
AdoEventReasonEnumEventReason Enum
AdoEventStatusEnumEventStatus Enum
AdoExecuteOptionEnumExecuteOption Enum
AdoFieldAttributeEnumFieldAttribute Enum
AdoFieldEnumField Enum
AdoFieldStatusEnumFieldStatus Enum
AdoFilterGroupEnumFilterGroup Enum
AdoGetRowsOptionEnumGetRowsOption Enum
AdoInheritTypeEnumInheritType Enum
AdoIsolationLevelEnumIsolationLevel Enum
AdoKeyTypeEnumKeyType Enum
AdoLineSeparatorEnumLineSeparator Enum
AdoLockTypeEnumLockType Enum
AdoMarshalOptionsEnumMarshalOptions Enum
AdoMoveRecordOptionsEnumMoveRecordOptions Enum
AdoObjectStateEnumObjectState Enum
AdoObjectTypeEnumObjectType Enum
AdoParameterAttributesEnumParameterAttributes Enum
AdoParameterDirectionEnumParameterDirection Enum
AdoPersistFormatEnumPersistFormat Enum
AdoPositionEnumPosition Enum
AdoPropertyAttributesEnumPropertyAttributes Enum
AdoRecordCreateOptionsEnumRecordCreate Options Enum
AdoRecordOpenOptionsEnumRecordOpen Options Enum
AdoRecordStatusEnumRecordStatus Enum
AdoRecordTypeEnumRecordType Enum
AdoResyncEnumResync Enum
AdoRightsEnumRights Enum
AdoRuleEnumRule Enum
AdoSaveOptionsEnumSaveOptions Enum
AdoSchemaEnumSchema Enum
AdoSearchDirectionEnumSearchDirection Enum
AdoSeekEnumSeek Enum
AdoSortOrderEnumSortOrder Enum
AdoStreamOpenOptionsEnumStreamOpenOptions Enum
AdoStreamReadEnumStreamRead Enum
AdoStreamTypeEnumStreamType Enum
AdoStreamWriteEnumStreamWrite Enum
AdoStringFormatEnumStringFormat Enum
AdoUpdateCriteriaEnumUpdateCriteria Enum
AdoXactAttributeEnumXactAttribute Enum

 

2.  Helper functions

AdoEnum2StrTranslate a Enum value to a string
AdoStr2EnumTranslate a String value to a Enum value