I have the following enumeration defined in a class:
'Class module to handle connection to database
Public Enum DBLoc
DBLocal = 1
DBServer = 2
End Enum
From time to time, I'll get a compile error stating Constant Expression Required even though it is defined in the class.
Is this a bug or did I do something wrong? Any help would be appreciated.
Thanks
'Class module to handle connection to database
Public Enum DBLoc
DBLocal = 1
DBServer = 2
End Enum
From time to time, I'll get a compile error stating Constant Expression Required even though it is defined in the class.
Is this a bug or did I do something wrong? Any help would be appreciated.
Thanks