Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use SQL to List all Queries in DB 2

Status
Not open for further replies.

Kazim

Programmer
Jul 23, 2001
26
0
0
GB
I am using ADO in a VB app to list the queries found in an Access database (Specified by the user at runtime)

I was wondering if there was an SQL statement which could be passed which would do the same thing?

Any help please... Thanks

Kazim
 
This should do it
SELECT MSysObjects.Name
FROM MSysObjects
WHERE (((MSysObjects.Type)=5));
 
Rizla:

Many thanks - I am on it right now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top