get enum text description?

  • Thread starter Thread starter Craig Buchanan
  • Start date Start date
C

Craig Buchanan

if i have an enum like:

Public Enum StatusEnum
Opened = 1
Closed = 2
WIP = 3
AtSDPS = 4
Waiting = 5
End Enum

Is there a way to list the text values? Is there a way to get these into a
combobox?

thanks,

craig
 
The simplest way is to put the text and values in two fields of a little
table, then use that as the recordsource for your combo box.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

about enum 3
Enum TypeConverter 3
Merge Info From Two Enums 1
Enum bug? 6
Enum Extentions 7
Convert DropDownList values to enum values 2
Should I return an int or an enum? 4
Spaces in Enum 11

Back
Top