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
 

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