473,322 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

how to modify database documentor

Access 365 Tab "database tool" select "database documenter", select only table properties. It prints 30 some pages without table name. I: only want table name, last update, record count. Ideally save as a table or excel spreadsheet, so I can track weekly updates.
May 30 '19 #1
2 1391
ADezii
8,834 Expert 8TB
  1. A simple approach to resolving this issue would be as follows:
    1. Create a Table named tblTableUpdates which consists of the following Fields:
      Expand|Select|Wrap|Line Numbers
      1. [TName] - {SHORT TEXT}
      2. [Last Updated] - {DATE/TIME}
      3. [Records] - {NUMBER/LONG}
    2. Execute Code that will iterate thru all the Non-System Tables in your Database and add their Name, Last Updated, and Record Count Data to tblTableUpdates.
  2. Code Definition:
    Expand|Select|Wrap|Line Numbers
    1. Dim tdf As DAO.TableDef
    2. Dim strSQL As String
    3.  
    4. For Each tdf In CurrentDb.TableDefs
    5.   With tdf
    6.     If .Name Like "MSys*" Or .Name Like "USys*" Then
    7.       'ignore these System Tables
    8.     Else
    9.       strSQL = "INSERT INTO tblTableUpdates ([TName], [Last Updated],[Records]) Values('" & _
    10.                 .Name & "',#" & .LastUpdated & "#," & .RecordCount & ")"
    11.       CurrentDb.Execute strSQL, dbFailOnError
    12.     End If
    13.   End With
    14. Next
  3. You also Query MSysObjects:
    Expand|Select|Wrap|Line Numbers
    1. SELECT MSysObjects.Name, MSysObjects.DateUpdate, DCount("*",[Name]) AS Records
    2. FROM MSysObjects
    3. WHERE MSysObjects.Name Not Like 'MSys*' And MSysObjects.Name Not Like 'USys*' AND 
    4. MSysObjects.Name Not Like 'f_*' and MSysObjects.Type=1;
    5.  
  4. Hopefully, this is what you are looking for.
May 30 '19 #2
NeoPa
32,556 Expert Mod 16PB
It seems like you're looking in the wrong place for that info. It will print names if you select the tables and clear all other options. It won't give you last-updated or record count.

On the other hand all that information is available one way or another - just not via the Documenter feature. ADezii gives one approach. You can find a fully developed tool for free at Code Documenter.

NB. As non-commercial work and actually provided by one of our own members who's also an MS Access MVP, this link is acceptable.
May 30 '19 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: aki999 | last post by:
We need to install CI database on CS server, and there are some issues with stored procedures. Database works and have CI collation (Polish_CI_AS). Server has coresponding CS collation...
5
by: Chand | last post by:
Private Sub tbDate_AfterUpdate() Dim cnn As New ADODB.Connection Dim rst As New ADODB.Recordset rst.CursorLocation = adUseClient Set cnn = CurrentProject.Connection rst.Open "SELECT * FROM...
1
by: jan | last post by:
Hello, I am new to this list and would appreciate some help with Access 2000 and Access 2003. I need to export our access database table statements by access database to place into our database...
12
by: Ray | last post by:
I just completed a database and would like to prepare the documentation for it. As I have no experience to do so, can someone advise me the essential elements for the documentation and any example...
2
by: John | last post by:
Can I modify database tables by directly typing into the datagrids? Is that possible (just like MS Access forms)?
0
by: micky | last post by:
=========================================================== Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\SYSTEM'....
4
by: Arno R | last post by:
Hi all, I need to document a database, and I do need output in Word so that I can edit the output. I need to describe table and field structure, used objects, dataflow, workflow, What are...
1
by: Gary S | last post by:
When I type in the three apostrophes (above a class, method, etc.) and press enter, the IDE generates the following lines. ''' <summary> ''' ''' </summary> ''' <remarks></remarks> If there...
1
by: infocaptor | last post by:
Hi Everybody, Using the show commands and information_schema tables, I have designed a dashboard for MySQL and that can also be used as a documentor for all MySQL objects. Its been tested only on...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.