Select the Modules tab of the Database window.
Click New. Access opens a module.
Paste the code in.
Save with a name such as Module1.
Check that Access understands it by choosing Compile on the Debug menu.
If Access 2000 or 2002 gives an error message about unknown types, choose
References on the Tools menu, and check the box beside:
Microsoft DAO 3.6.
One it compiles okay, press Ctrl+G to open the Immediate window.
Then enter:
? TableInfo("Table1")
substituting the name of your table for Table1.
There is also a built-in way to document the table:
Tools | Analyze | Documenter
It's more difficult to get just the stuff you asked for though.