populate listbox with Enum Values

J

JohnFol

You can't.

In .Net you can enumerate through the members of the enum, but not in Access
 
T

Tim Ferguson

How can I populate a listbox with the member values of
an ENUM ?

lisBox.RowSource = "0;1;2;3;4;5"

Enum types are all integer values, and run consecutively unless you specify
otherwise.

The variable names are only available to VBA code anyway, so there is
absolutely nothing the user could do with them even if he or she saw them.

B Wishes


Tim F
 
Top