Getting Table Modied File in C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Getting Table Modied File in C++

Are there any C++ commands or Access commands which will output to me the
"last modified time" of the table?... (not of the database itself)

I can see the table modified time by looking at the table properties in the
Access Screen, but I can't seem to find any C++ way of retrieving it...

Thanx
 
Hi,
This will get you all the properties and their values. You'll probably want LastModifed.

Dim tbl As TableDef
Dim db As DAO.Database
Dim i As Integer

Set db = CurrentDb()
Set tbl = db.TableDefs("yourTable")

For i = 0 To tbl.Properties.Count - 1
MsgBox tbl.Properties(i).Name & " " & tbl.Properties(i).Value
Next i
 
Back
Top