Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ENUMS in A97 (Ac97 SR2)

    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
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: ENUMS in A97 (Ac97 SR2)

    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.
    Charlotte

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ENUMS in A97 (Ac97 SR2)

    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.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •