Re: Querydef
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Sat, 7 Jun 2008 14:14:38 +0800
OpenRecordset() on something like this:
SELECT MSysObjects.Name, MSysObjects.Type
FROM MSysObjects
WHERE (MSysObjects.Type In (1,4,5,6))
AND (Not (MSysObjects.Name Like "MSys*"
Or MSysObjects.Name Like "~*"))
ORDER BY MSysObjects.Name;
Alternatively, loop through the TableDefs and QueryDefs.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"JimP" <jpockmire@xxxxxxxxxxxxxxxxxxxxx> wrote in message news:t9KdnXhGD7e8DdTVnZ2dnUVZ_tXinZ2d@xxxxxxxxxxxxxx
Is it possible to list all of the tables/queries in a query via code?
.
- Follow-Ups:
- Re: Querydef
- From: JimP
- Re: Querydef
- References:
- Querydef
- From: JimP
- Querydef
- Prev by Date: Re: chr(13) vbCrLF issue when passing to word
- Next by Date: Re: execute code in personal.xls from Access
- Previous by thread: Querydef
- Next by thread: Re: Querydef
- Index(es):
Relevant Pages
|