• ENUMS in A97 (Ac97 SR2)

    • This topic has 2 replies, 2 voices, and was last updated 23 years ago.
    Author
    Topic
    #370025

    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

    Viewing 0 reply threads
    Author
    Replies
    • #584186

      This question gets asked regularly, and the answer is always NO. VB6 and Access 2000/2002 support them, but Access 97 is based on VB5 and doesn’t support them.

      • #584282

        Ooops… sorry. Should have used the Search button first. There was one message from Jan 2001 with “enum and 97” in the subject line.

        Thanks for the info.

    Viewing 0 reply threads
    Reply To: ENUMS in A97 (Ac97 SR2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: