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
 
Back
Top