Working with Listbox controls

  • Thread starter Thread starter Malik
  • Start date Start date
M

Malik

Hello everyone,

I've been working with Access for a couple of months now and I'm wondering
how do you access the value of a list box control? I have a list box with
the name of all of the queries in the database. Once a user selects a query
in the list box, I want to run that paticular query. Any ideas?

Thanks
 
Hello everyone,

I've been working with Access for a couple of months now and I'm wondering
how do you access the value of a list box control? I have a list box with
the name of all of the queries in the database. Once a user selects a query
in the list box, I want to run that paticular query. Any ideas?

Thanks

Code the ListBox AfterUpdate event:

DoCmd.OpenQuery Me!ListBoxName
 
Back
Top