Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with ENUM

Status
Not open for further replies.

gavjb

Technical User
Jul 5, 2005
67
GB
Does anyone know if there is a limit to the amount of elements you can have in a ENUM, as I have the following ENUM in the declarations area of one of my forms and it is only displaying the first 7 elements when used

Code:
Enum AddQualType
    QUAL_GCSE = 1
    QUAL_KS = 5
    QUAL_AS = 6
    QUAL_A = 7
    QUAL_GNVQF = 8
    QUAL_GNVQI = 9
    QUAL_GNVQA = 10
    QUAL_CSE 11
    QUAL_ESOL = 12
    QUAL_OTHER = 0
End Enum


Thanks,


Gavin,
 
You're missing the equals sign from the eighth constant.

Ed Metcalfe.

Please do not feed the trolls.....
 
Thanks, I looked at this several times and missed that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top