Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / June 2005

Tip: Looking for answers? Try searching our database.

Table/Query Types

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pbewig@gmail.com - 30 Jun 2005 19:41 GMT
I know how to iterate over CurrentDb.Containers("Tables").Documents to
get a list of all the table/query names in a database.  How can I
determine which is a table and which is a query?  How can I determine
the type of a table (linked or local) or the type of a query (local,
pass-through, union)?

Phil
Douglas J. Steele - 01 Jul 2005 00:07 GMT
Use CurrentDb.TableDefs and CurrentDb.QueryDefs, rather than
CurrentDb.Containers("Tables").Documents

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

>I know how to iterate over CurrentDb.Containers("Tables").Documents to
> get a list of all the table/query names in a database.  How can I
[quoted text clipped - 3 lines]
>
> Phil
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.