G
Guest
I want to know how can I get, with VBA or Visual Script, the last time a table was updated, Wich property returns me that value?
Thanks,
Salvador Hernandez
Thanks,
Salvador Hernandez
SHA said:I want to know how can I get, with VBA or Visual Script, the last
time a table was updated, Wich property returns me that value?
Thanks,
Salvador Hernandez
SHA said:Dirk,
I tried your idea with the following code, but it did not work:
-----------------------------------------
'This is VBScript code
Set MyDB = CreateObject("ADODB.Connection")
'The ODBC Connection is called Transmisions
MyDB.Open "Transmisions"
'I want to know the last time table TransFor was modified
LastTime = MyDB.Table("TransFor").LastModified
MsgBox(LastTime)
MyDB.Close
SHA said:Dirk,
Thanks for your help, I get an error message like this "Microsoft
VBScript runtime error: 94, Invalid use of Null:'LastTime'", and this
happens in the line with the instruction "MsgBox LastTime".
Salvador