Listing all created Queries

G

Guest

Although I am proficient in SQL and running queries in Access, I am new to
database creation. One requirement is to have a switchboard button that
takes me to a Queries form that is combo box of all the queries I have
created for the user to select based on requirements. How do I go about
creating a table that this combo box references so that the user can select a
query to be executed? I have 20 queries available that the user can run from
a Forms Switchboard, but I do not know how to get these queries into one
location for the user to select.

Thanks.
 
A

Allen Browne

Try this in the RowSource of the combo:

SELECT MSysObjects.Name
FROM MSysObjects
WHERE (((MSysObjects.Name) Not Like "~*") AND ((MSysObjects.Type)=5))
ORDER BY MSysObjects.Name;
 

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

Top