Hi, there,
I am trying to have a procedure get for me the date/time for when a table was last modified. I tried looking around on the web and on this forum but wasn't quite able to find what I was looking for.
The closest thing I found was the following code, which has the same idea, except it shows when a FILE or FOLDER was last modified. Any ideas on what I need to do to get the same info for a TABLE? Thanks!!
Sub ShowFileAccessInfo(filespec)
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(filespec)
s = UCase(filespec) & vbCrLf
s = s & "Created: " & f.DateCreated & vbCrLf
s = s & "Last Accessed: " & f.DateLastAccessed & vbCrLf
s = s & "Last Modified: " & f.DateLastModified
MsgBox s, 0, "File Access Info"
End Sub
I am trying to have a procedure get for me the date/time for when a table was last modified. I tried looking around on the web and on this forum but wasn't quite able to find what I was looking for.
The closest thing I found was the following code, which has the same idea, except it shows when a FILE or FOLDER was last modified. Any ideas on what I need to do to get the same info for a TABLE? Thanks!!
Sub ShowFileAccessInfo(filespec)
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(filespec)
s = UCase(filespec) & vbCrLf
s = s & "Created: " & f.DateCreated & vbCrLf
s = s & "Last Accessed: " & f.DateLastAccessed & vbCrLf
s = s & "Last Modified: " & f.DateLastModified
MsgBox s, 0, "File Access Info"
End Sub