Are ENUMs defined for Access 97? I am trying to use some code from the Access 2002 ADH that uses Enums. There is enough mention of them in the A97 help system to make me believe they are valid, but I can’t find any specific documentation, and I can’t get them to compile.
Here’s a snippet of code. The Public ENUM statement appears red under Access 97, but compiles OK in VB6:
Public Enum adhCDFontType
RASTER_FONTTYPE = &H1
DEVICE_FONTTYPE = &H2
TRUETYPE_FONTTYPE = &H4
BOLD_FONTTYPE = &H100
ITALIC_FONTTYPE = &H200
REGULAR_FONTTYPE = &H400
SCREEN_FONTTYPE = &H2000
PRINTER_FONTTYPE = &H4000
SIMULATED_FONTTYPE = &H8000
OPENTYPE_FONTTYPE = &H10000
TYPE1_FONTTYPE = &H20000
DSIG_FONTTYPE = &H40000
End Enum
Thanks