P
Phil
'I'd like to have a public array:
Public aType(202) As String
'and I'd like to assign constant values to it without
having to run a program to assign them; that is, I want
to assign them as constants.
However, this does not work with arrays.
Public Const aType (1) = "dbBoolean"
Public Const aType(dbText) = "dbText"
'I need them in an array because I'm going to use them as
follows:
Debug.Print dbBoolean, aType(dbBoolean)
1 dbBoolean
Since this seems like such a reasonable thing to do with
this enum, I wonder if there might be some other approach.
Thanks for your help.
Phil
Public aType(202) As String
'and I'd like to assign constant values to it without
having to run a program to assign them; that is, I want
to assign them as constants.
However, this does not work with arrays.
Public Const aType (1) = "dbBoolean"
Public Const aType(dbText) = "dbText"
'I need them in an array because I'm going to use them as
follows:
Debug.Print dbBoolean, aType(dbBoolean)
1 dbBoolean
Since this seems like such a reasonable thing to do with
this enum, I wonder if there might be some other approach.
Thanks for your help.
Phil