I have an Enum Structure
Public Enum MyEnum
EnumVal1=0
EnumVal2=1
EnumVal2=2
end enum
I save in an access database this enum value as an integer (0=EnumVal1,
1=EnumVal2, 2=EnumVal)
When retreving this enum from the database how do I ensure that the correct
value is passed to my object
For instance
MyObject.MyEnum =1 .
Does this populate the property with MyObject.MyEnum = EnumVal2
giannik
Public Enum MyEnum
EnumVal1=0
EnumVal2=1
EnumVal2=2
end enum
I save in an access database this enum value as an integer (0=EnumVal1,
1=EnumVal2, 2=EnumVal)
When retreving this enum from the database how do I ensure that the correct
value is passed to my object
For instance
MyObject.MyEnum =1 .
Does this populate the property with MyObject.MyEnum = EnumVal2
giannik
Comment