Query/Report of fields in table with Properties

kwvh
3StarLounger
Posts: 308
Joined: 24 Feb 2010, 13:41

Query/Report of fields in table with Properties

Post by kwvh »

Is there a hidden table that would show the properties of fields in specific tables? For example if I wanted to create a report or query of the fields in tblMyTable and have as columns in the report/query:
Field Name
Field Type
Required
Allow Zero Length
for each field in the table, is that achievable?

Any ideas are greatly appreciated!

Ken

User avatar
HansV
Administrator
Posts: 78487
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Query/Report of fields in table with Properties

Post by HansV »

There is no hidden table containing that information (at leat, not visible to the user or programmer).

The Documenter (in Database Tools) lets you create a report that lists properties of database objects, but it is not customizable.
As an alternative, consider the Liquorman Utilities (shareware, free to try).

Here is a screenshot from the output from an old version of Mark Liquorman's documentor:
x155.png
If you want to roll your own, you can use DAO to inspect the properties of tables and fields.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans