Click here to Skip to main content
15,881,840 members
Articles / Productivity Apps and Services / Microsoft Office / Microsoft Access
Tip/Trick

Query to get the object information a database in Microsoft Access

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
21 Feb 2011CPOL 7.3K   1  
Query to get the object information a database in Microsoft Access
SQL
SELECT MSysObjects.Name, MSysObjects.Type
FROM MSysObjects
WHERE MSysObjects.Name Not Like "MsyS*" AND MSysObjects.Type=1
ORDER BY MSysObjects.Name;


Where type can be changed as per object type.

C++
MSysObjects.Type=1


Like Type is:
1 for Tables
5 for Queries
-32766 for Mocros
-32756 for DAP
-32761 for Modules

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Accenture
India India
I am a Dot Net Developer working in MNC. I am interested to learn new technologies. I am always trying to improve my skills.

MCTS:ASP.NET 3.5
MCTS:WCF 3.5

Comments and Discussions

 
-- There are no messages in this forum --