AdoEnum2Str() Function

<< Click to Display Table of Contents >>

Navigation:  Support Functions >

AdoEnum2Str() Function

Previous pageReturn to chapter overviewNext page

Purpose

Translate a Enum value to a string

 

Prototype

FUNCTION AdoEnum2Str ( dwEnum AS DWORD, aEnum AS ARRAY, lCheckAllAS LOGIC )  AS STRING

 

Argument(s)

dwEnum        Value that has to be converted

aEnum        2 dimensional Array as returned by one of the Ado...Enum functions

lCheckAll        Check all of the values in the array, and concatinate into one string

 

 

Return

STRING         String representation of the dwEnum value

 

Description

With this function you can translate a Enum value into a string. Sometimes (for example with attributes ) different values of an enum are combined into one Long integer by using the binary OR. The 3rd parameter deterines if this function should check all the values of the array, and return a string with all the values that have been combined.