Listbox and Command button

  • Thread starter Thread starter little_rascals
  • Start date Start date
L

little_rascals

Hello, I have two different listboxes. One consists of a
list of tables and the other consists of a list of queries.
By double clicking on the individual table and query, i
can view them.

However, i need to provide 2 different command buttons for
the 2 listboxes. Each command button will be named
as "Import" and it must "recognise" the table or query
selected from the listbox by the user and allow the user
to click and import the correct set of data meant for the
selected table or query from excel files!
 
If one button applies to one listbox, then when they
click that button, you will know which listbox to look
at. Once you determine which entry is selected, you
would know how to proceed. If you need additional info
about each query/table, you could put that into another
column of the list box but not show it. j.
 

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

Similar Threads

Access Cannot select items in listbox 1
Listbox query 3
Listbox selection to execute a query 2
Listbox Selection 2
Updating a query criteria from a listbox 2
Clear Listbox Entries 6
Requery listbox 1
Refreshing List box 2

Back
Top