populate listbox with Enum Values

  • Thread starter Thread starter alex
  • Start date Start date
You can't.

In .Net you can enumerate through the members of the enum, but not in Access
 
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
 

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

Back
Top