I've been sent a useful set of procedures by another Access developer which were written in Access 95 and (according to my source) worked fine. When I transfered the code into Access 97, it baulked at the Enumerated Type code with a syntax error:
example
Private Enum CharType
CharAlpha = 1
CharNumeric = 2
CharSpace = 3
CharOther = 4
End Enum
I've since discovered from the MS Knowledgbase that at Access 97 the 'Enum' object was abandoned but it doesn't tell me what replaced it - if anything! I know Enum is recognised by VB5 upwards so Microsoft still supports the code but not in Access 97. Any ideas how I can either reference the VB code library or emulate Enum in another way?
example
Private Enum CharType
CharAlpha = 1
CharNumeric = 2
CharSpace = 3
CharOther = 4
End Enum
I've since discovered from the MS Knowledgbase that at Access 97 the 'Enum' object was abandoned but it doesn't tell me what replaced it - if anything! I know Enum is recognised by VB5 upwards so Microsoft still supports the code but not in Access 97. Any ideas how I can either reference the VB code library or emulate Enum in another way?