Display queries in listbox

L

little_rascals

Hi, I need to make use of a listbox to display ALL the queries in m
database. Is there any way i can do this??

Another scenario is.. i need to know how to display only the queries
want, to appear in the listbox.

Thank You
 
J

Jennifer H.

Populate the list box in the code. Just open a recordset
of the Currentdb.QueryDefs. Then you can build a string
with the name property of each query, separated by
semicolon. The assign the string to the RowSource of the
list box. 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


Top