Is there a way to simulate the table documenter with VBA?
From: Anita Mossey (anonymous_at_discussions.microsoft.com)
Date: 04/22/04
- Next message: Cheryl Fischer: "Re: Recordset and SQL"
- Previous message: kiln: "Re: Lebans or other Raw Binary Image Storage"
- Next in thread: Tim Ferguson: "Re: Is there a way to simulate the table documenter with VBA?"
- Reply: Tim Ferguson: "Re: Is there a way to simulate the table documenter with VBA?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 22 Apr 2004 09:46:08 -0700
I have an Access database with one table consisting of 1,678 records that list Access databases. The fields in the table display server name, directory path, file name, date modified, and file size. For all 1,678 databases, I am looking for a way to create a report that would display all the information in the table plus corresponding database table names and for each table, corresponding field names, data types, and field lengths.
If possible, I prefer not to open the databases because that changes the dates modifed. I can copy the databases to other directory paths to avoid changing dates modified. However, it does take time to set up so many new "duplicate" directory paths and copy the files.
A few of the databases have passwords. Some of these passwords cannot be recovered with password recovery tools.
I realize that the table names, field names, data types, and field sizes can be displayed by clicking on Analyze, Documenter from the Tools menu and then copying and pasting to a Word document. However, this manual process is very time consuming for so many databases. Is there a way to automate the process with code?
I have coded VBA using ADO. I am not familiar with DAO.
Thanks in advance,
Anita
- Next message: Cheryl Fischer: "Re: Recordset and SQL"
- Previous message: kiln: "Re: Lebans or other Raw Binary Image Storage"
- Next in thread: Tim Ferguson: "Re: Is there a way to simulate the table documenter with VBA?"
- Reply: Tim Ferguson: "Re: Is there a way to simulate the table documenter with VBA?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|