Print Access Database Structure??

  • Thread starter Thread starter Chris Moore
  • Start date Start date
C

Chris Moore

How can I print an Access database structure? I need to print the Field
names, field order and field data type.

Thanks

Chris
 
All the tables or just one table?

If you need just one you could try Tools | Analyze | Documentor.
That will print out the fields and a whole bunch of other information as well.
You could do all the tables as well, just be careful which options you select.

As another option I created an Access Add-In called the "John Viescas Table Documentor" that will
list each table and its field properties in an easy-to-read format. It is even easier to use than
the built-in Access Documentor and creates a slick report right in your database that you can just
open again any time right from the Database Window. You could customize the report even more to your
liking if you desire.

Once installed all you have to do is Tools | Add-Ins | John Viescas Table Documentor. Poof! After a
few seconds a slick report is displayed on the screen. In a nut shell the Add-In creates a new key
table in your database, loops through each table (including linked ones) grabbing the information
needed, writes all this information to the key table, creates the report entirely in code, saves it,
and then displays it on the screen for you. That report can be opened again at any time since it is
saved as a new report object in your database. Easy as pie!

I am awaiting word back from John about the possibility of having him post it on his web site where
anyone can download it. In the meantime I do not believe he would have a problem if I sent you a
copy. If you do wish to have a copy please let me know where you would like it sent to (please mung
the e-mail address so you won't get spammed). There is one version for Access 97 and one for 2000
which works with 2000, 2002, and 2003.
 
I would love to check out your print tool. I am at dblayoutatyahoodotcom.
Be sure to use this subject line so I will know what it is.

Thanks

Chris
 
Hi Chris,

No problem, a copy is being sent now.

You did not mention which version you needed so I sent both. Only install the 97 one if you are
using Access 97. If you are using Access 2000, 2002, or 2003 then install the 2000 one. Follow these
steps to install the Add-In:

1. Unzip the file JVTableList.MDA to your Office or Access directory to easily find it when we
install the Add-In.

2. Now open any Access database and go up to "Tools" on the main Access menu bar. From there go down
to the option called "Add-Ins". This sub-menu will list any installed Access add-ins on your system,
as well as an option called "Add-In Manager". Click on the option called "Add-In Manager" and a new
screen will appear.

3. The box will display a list of available add-ins on the left side. Depending upon where you
unzipped the add-in file, you may see the John Viescas Table Documentor already listed in this box.
If the file is listed, click on the option to highlight it and then press the "Install" button to
complete the installation. There should now be a little "x" next to the option meaning it has now
been installed. If you do not see the add-in listed in this box simply click the button called "Add
New..." where you can browse for the location of the file. Once you find the file and click on it in
the browse window, you will be taken back to the Add-In Manager screen. Now you should see our
add-in listed in the box with a "x" by it meaning it has been successfully installed. If not,
highlight the option and then press the "Install" button to complete the installation. Hit the
"Close" button on the Add-In Manager when finished. That's it, now we're ready to use the utility!

4. To launch the add-in, simply open any database you wish to document and go up to Tools | Add-Ins
and click on the new option "John Viescas Table Documentor". Depending upon the number of tables in
your database (and whether they are linked or not), the utility should only take a few seconds to
create the report and display it on the screen. Once on screen you can either print the report or
just view the different pages. The utility creates a new report object in your database called
"rptzvTableFields" and a new table called "zvTableFields". If you wish to view the report again, you
can simply open the report in the Database Window or re-run the add-in utility if you have
added/changed/deleted new fields and/or tables. You can delete these database objects if you do not
wish to have them in your database.

Please post back to the newsgroup when you receive the files and if you have any problems . The
e-mail was being sent from a "dump" e-mail account and will not be checked if a reply is sent. The
only way I will know if you received the files is through the newsgroup.

Hope you find it useful.
 
Back
Top